aboutsummaryrefslogtreecommitdiff
path: root/src/modes
Commit message (Expand)AuthorAgeFilesLines
* Fix sending malformed ERR_BANLISTFULL numerics in some contexts.•••Fixes ircdocs/irc-defs#37. Gravatar Peter Powell2018-10-091-1/+2
* Set the parameter of -b to the banmask actually removed•••This is needed because of the case insensitive match Gravatar Attila Molnar2014-10-221-0/+1
* Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-1/+1
* cmode_b: Correction to the maxbans conditional•••It was possible to set one more ban beyond the configured limit. Gravatar Robby-2013-01-031-1/+1
* Change empty string assignments to .clear() or remove them entirely•••Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f Gravatar attilamolnar2012-11-281-10/+10
* Move simple user and channel mode handlers into a single fileGravatar attilamolnar2012-10-088-237/+0
* Fix maxbans not being enforcedGravatar attilamolnar2012-07-011-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-1915-121/+233
* Do not apply parameter length restrictions or CleanMask when unsetting modesGravatar Daniel De Graaf2010-09-041-4/+1
* rename channel modes +it to distinguish them from commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12387 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-062-2/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-1115-15/+15
* Remove mode counter, not reliable and only used for umode +i•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-093-15/+0
* Add ParamChannelModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12134 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-31/+7
* Hide channel mode structures•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12132 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-15/+1
* Create m_halfop•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-031-64/+0
* Get rid of ModePair•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-246-93/+0
* Change User::oper to an OperInfo reference•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-1/+1
* Add names for all modes (part 1 of named channel mode list)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-0816-16/+16
* Fix valgrind issues and crashes on exit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-021-1/+1
* Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to cla...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-2616-18/+18
* Simplify ModeHandler constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-1311-11/+26
* Replace OnAccessCheck with OnPreMode to remove a number of redundant checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11700 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-133-229/+3
* Membership* changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-134-50/+41
* ModResult conversion: Change return type of all module functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-024-31/+31
* Remove "servermode" parameter, replace with IS_FAKE() which is more reliable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-029-12/+12
* Add Module* creator to Command and ModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-0216-16/+16
* Use CheckTimeStamp to merge modes on netburst•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11596 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-022-7/+1
* Re-implement dependency generation in perl to increase speed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11559 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-62/+0
* Makefile updates: Allow run-cc wrapper to be disabled by "make V=1"•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11396 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-011-17/+17
* Makefile updates: clean up command lines•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-011-2/+3
* Overloading SetMode seems to cause the compiler to interpret "" as a bool and...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-292-4/+4
* Fix SetModeParam to use std::string and handle edge cases.•••Previously, changing the vaule of a mode could require 3 calls to SetMode and SetModeParam. This also fixes memory leaks caused by the strdup() not always being paired with a free(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-172-14/+7
* Fix bug #826: setting +l 0 doesn't work in some cases. Just don't check for +...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11302 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-04-161-9/+0
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-1516-16/+16
* Fix +k for real•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11185 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-071-8/+20
* Let's try that +k fix again, this time with more testing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11184 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-071-7/+6
* Fix r11178 not allowing keys to be unset•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11182 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-071-28/+22
* Construct explicit parameter type list for MODE parameters•••Previously, we used TR_SPACENICKLIST on the parameters. This worked only because usually, if anything in the list parsed as a nick, then it was a nick. However, some modes like +k and +g allow free-form text, which could also resolve as a nick. Add extra parameters to allow modes to specify their TranslateType, defaulting to TR_TEXT. This fixes bug #757, found by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-063-3/+3
* Drop channel keys if they are identical to the already-set key (fix for bug #...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11178 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-03-061-0/+5
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-2/+1
* Remove/Add cmode h according to <option:allowhalfop>. Fixes bug #715 reported...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11081 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-111-9/+0
* Fix compile error•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11018 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-01-311-4/+3
* Fix for bug #695. For now, we cant be sure what parts of the code might still...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11016 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-311-5/+3
* Allow +l 0 (for +PlL #newchan).•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11006 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-251-9/+0
* This can't be case sensitive because it's not consistant, and also would brea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11005 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-251-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-0216-16/+16
* Remove +s when no snomasks are set.. bug found (indirectly) by jackmcbarn.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10793 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-021-1/+1
* Send remote de-oper to REMOTEOPER snomask.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10776 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-1/+4
* Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10713 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-251-4/+0