aboutsummaryrefslogtreecommitdiffstats
path: root/include/commands
Commit message (Collapse)AuthorAgeFilesLines
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-2/+2
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-1/+1
| | | | GCCs warnings for this are much better than Clangs.
* Remove remaining doxygen doc for "pcnt" parametersGravatar Attila Molnar2016-12-301-1/+0
|
* core_whowas Add WhoWas::Manager::PurgeNick()Gravatar Attila Molnar2015-11-231-0/+10
|
* Move the intrusive list containers into the insp namespaceGravatar Attila Molnar2014-08-301-2/+2
|
* core_whowas Rename and move WhoWasGroup to WhoWas::EntryGravatar Attila Molnar2014-07-091-34/+35
|
* core_whowas Return a WhoWas::Manager::Stats struct from GetStats() instead ↵Gravatar Attila Molnar2014-07-091-2/+9
| | | | of a string
* core_whowas Split database logic into a WhoWas::Manager classGravatar Attila Molnar2014-07-091-32/+81
|
* core_whowas Rename misleading variables and typedefsGravatar Attila Molnar2014-07-091-5/+5
|
* core_whowas Switch from map to a hash map and from irc::string to std::stringGravatar Attila Molnar2014-07-091-3/+3
|
* core_whowas Change the FIFO to be an intrusive listGravatar Attila Molnar2014-07-091-6/+6
|
* core_whowas Store the nickname in WhoWas::NickGravatar Attila Molnar2014-07-091-1/+5
|
* core_whowas Store time added in WhoWas::NickGravatar Attila Molnar2014-07-091-0/+8
|
* core_whowas Delete elements of the per nick deque in the destructor of ↵Gravatar Attila Molnar2014-07-091-0/+4
| | | | WhoWas::Nick
* core_whowas Create class WhoWas::Nick, store pointers to those in the mapGravatar Attila Molnar2014-07-091-1/+13
|
* cmd_whowas Major cleanup, fix inefficienciesGravatar attilamolnar2013-08-121-10/+7
|
* Tidy up source files:Gravatar Peter Powell2013-04-121-4/+2
| | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* Move whowas settings into cmd_whowas from ConfigReaderGravatar attilamolnar2013-04-041-0/+13
|
* Make cmd_whowas act like a module, remove special handlingGravatar attilamolnar2013-04-041-36/+0
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
|
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up typos and some unused codeGravatar danieldg2009-10-301-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11980 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReaderGravatar danieldg2009-10-181-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix valgrind issues and crashes on exitGravatar danieldg2009-10-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up Command constructorGravatar danieldg2009-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove HandleInternal and HandleServer, they are duplicated by Request* and ↵Gravatar danieldg2009-09-031-21/+18
| | | | | | FakeUser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11672 e03df62e-2008-0410-955e-edbf42e46eb7
* Change cmd_*.so to use the Module object APIGravatar danieldg2009-09-0353-2229/+1
| | | | | | | | | | | | | | Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-0252-52/+52
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove calls to strdup() in core, it is not better than std::stringGravatar danieldg2009-09-021-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11623 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-1553-53/+53
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-0253-53/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a number of commands to have max_params field. This means in practice, ↵Gravatar w00t2008-10-255-5/+5
| | | | | | that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7
* Add optional max_params for commands, which means that we can compress ↵Gravatar w00t2008-10-251-1/+1
| | | | | | 'extra' params, while still accepting ':' terminated params, etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10715 e03df62e-2008-0410-955e-edbf42e46eb7
* Grr at windows exportsGravatar brain2008-09-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 e03df62e-2008-0410-955e-edbf42e46eb7
* fixes so m_sqloper builds on winGravatar brain2008-09-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10421 e03df62e-2008-0410-955e-edbf42e46eb7
* Add opt_time to WHO (will be /who +t flag) and clean the fuck up ↵Gravatar w00t2008-08-251-0/+2
| | | | | | CommandWho::whomatch, which was as ugly as sin. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10274 e03df62e-2008-0410-955e-edbf42e46eb7
* Send ERR_NOTREGISTERED to clients that send SERVER on a client port with a ↵Gravatar w00t2008-07-151-1/+1
| | | | | | text that tells them what they are doing wrong. Should help them debug it themselves. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10023 e03df62e-2008-0410-955e-edbf42e46eb7
* Conversion of command handler params from "const char* const* parameters, ↵Gravatar brain2008-05-0453-53/+53
| | | | | | | | | | int pcnt" to "const std::vector<std::string>& parameters". All of core is converted, but cant test it till the modules are converted. IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess of .c_str() calls to using std::string params directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7
* Wheee, mass commit! this adds const stafety, throwing a compile error if ↵Gravatar brain2008-02-2053-53/+53
| | | | | | | | | anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
* Slight API tweak. Change Command to take char * instead of char in it's ↵Gravatar w00t2008-02-1317-17/+17
| | | | | | constructor, this avoids confusion/generates a compile error if someone mixes up flags with number of params, instead of working but not working as expected in a weird manner. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8918 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-1053-53/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* No penalty here!Gravatar brain2007-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8297 e03df62e-2008-0410-955e-edbf42e46eb7
* Another big commit, just to please all my fans out there.. cmd_* -> ↵Gravatar w00t2007-10-2153-107/+107
| | | | | | Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed ssl clients on trunk. The problem peavey was having was that before ↵Gravatar brain2007-10-211-1/+1
| | | | | | ReadBuffer was char[] now its char*. sizeof() on char[] returns its size in chars, and sizeof on char* returns 4. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8263 e03df62e-2008-0410-955e-edbf42e46eb7
* Set penalties (documentation page listing these to come)Gravatar brain2007-10-2111-17/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8262 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't penalise /kill and /*lineGravatar brain2007-10-215-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8259 e03df62e-2008-0410-955e-edbf42e46eb7