aboutsummaryrefslogtreecommitdiff
path: root/src/commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-1/+1
|
* Convert UserType to be a uint8_t and move inside User.Gravatar Sadie Powell2020-11-101-5/+5
|
* Clean up a bunch of contructors and destructors.Gravatar Sadie Powell2020-11-011-4/+0
|
* Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-4/+4
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| |
* | Revert "Convert UserType to an enum class".Gravatar Sadie Powell2020-04-211-5/+5
| | | | | | | | | | | | | | | | There's a bug in GCC with bitfields and enum class. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242 This reverts commit 44834a66a7e92c8979ae16421286c581a9cffbe9.
* | Convert UserType to an enum class.Gravatar Sadie Powell2020-04-211-5/+5
| |
* | Alow modules to specify multiple syntax lines.Gravatar Sadie Powell2020-04-141-2/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-0/+53
|\|
| * Allow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}.Gravatar Sadie Powell2020-03-181-0/+11
| |
| * Move command stuff to a more appropriate source file.Gravatar Sadie Powell2020-03-051-0/+43
| |
| * Clean up the documentation of the Command and SplitCommand classes.Gravatar Sadie Powell2020-03-051-0/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-3/+4
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+4
| |
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
|/
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-11/+18
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-2/+0
|
* Deduplicate and move the *MatchesEveryone() functions to core_xlineGravatar Attila Molnar2014-03-121-92/+0
|
* Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+0
|
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
|
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+18
|
* Make <insane blah="no"> disallow insanity, to match the documentationGravatar danieldg2010-03-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12576 e03df62e-2008-0410-955e-edbf42e46eb7
* ERROR is not a valid log level, so all these messages were getting droppedGravatar danieldg2010-01-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12304 e03df62e-2008-0410-955e-edbf42e46eb7
* ...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
* Fixes found by removing User inheritance from StreamSocketGravatar danieldg2009-10-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
* Move some local-only fields to LocalUserGravatar danieldg2009-10-211-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11942 e03df62e-2008-0410-955e-edbf42e46eb7
* Move SetClass to LocalUserGravatar danieldg2009-10-211-0/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11941 e03df62e-2008-0410-955e-edbf42e46eb7
* Rewrite ConfigReader againGravatar danieldg2009-10-171-15/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11879 e03df62e-2008-0410-955e-edbf42e46eb7
* Make rehash generate a new ServerInstance->Config objectGravatar danieldg2009-07-011-6/+6
| | | | | | | This makes it possible to cancel a pending rehash, and fixes possible threading issues with rehash and other events. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-161-3/+3
| | | | | | | | | 'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | 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-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Move stuff to use ASCII map where required.Gravatar w00t2008-12-071-2/+2
| | | | | | Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7
* Switch some stuff to use ASCII mapping rather than RFC.Gravatar w00t2008-12-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10855 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust ↵Gravatar w00t2008-08-281-4/+4
| | | | | | files to not pass lowermap directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337 e03df62e-2008-0410-955e-edbf42e46eb7
* match() is no longer a function+no header, now a static method of InspIRCd ↵Gravatar w00t2008-08-211-4/+4
| | | | | | class, blah blah blah. Also rip out the 1.2 matcher, as it was slow, and replace it with one adapted from znc, which happens to be a tiny bit faster than 1.1's (and the fastest I've seen so far that works properly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove last vestige of libircdfoo, by changing tag into a single ↵Gravatar w00t2008-07-291-1/+1
| | | | | | identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User:: nick/ident/dhost/fullname and some other things std::string ↵Gravatar aquanight2008-05-181-3/+3
| | | | | | instead of char*/char[] (MODULES DO NOT COMPILE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove .c_str()'s in match() calls that are no longer needed as match() ↵Gravatar brain2008-05-181-3/+3
| | | | | | natively takes std::strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7
* Move some stuff to usermanager, remove a little header insanity, remove ↵Gravatar w00t2008-02-021-6/+6
| | | | | | trace because it's still less useful than a chocolate fireman. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix.. snomask O is already taken (ffs) so use A insteadGravatar w00t2008-01-171-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
* Start converting WriteOpers calls into snomask 'O' -- generic oper notices.Gravatar w00t2008-01-171-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8727 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the ↵Gravatar brain2007-10-221-0/+2
| | | | | | src/ dir for tag comments, like in modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-151-3/+3
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more unnecessary header trafficGravatar w00t2007-08-271-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+111
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7