summaryrefslogtreecommitdiff
path: root/src/modes
Commit message (Expand)AuthorAgeFilesLines
* Fix maxbans not being enforced•••(cherry picked from commit f3bf40e3a1bcb863d1a76983338db6f5bbe3318e) Gravatar attilamolnar2012-10-041-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-2016-129/+246
* Fix +l being visibly set on every FJOIN of a remote user•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12249 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-111-3/+5
* 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
* I think this fixes the mode +k weirdness. Keys were never being set correctly...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10606 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-291-1/+2
* Move all the parameters around AGAIN. See docs shortly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-311-0/+8
* Fixes, this can't be taken directly from 1.1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-2/+2
* Forward-port r10257, fixes bug #599 reported by mixx941.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10258 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-241-1/+3
* Add OnParameterMissing to modehandler, called when the mode handler should ha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10149 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-171-0/+6
* Move umode_n to umode_s, second half of last commit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10075 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-292-5/+5
* After discussions and thought, move umode +n to +s. This increases cross-ircd...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-293-40/+3
* Remove custom members for +lk storage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10053 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-202-22/+27
* Change modes in channels and users to use std::bitset instead of an array. Th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-1/+1
* Something we can do in 1.2 that we cant really do neatly in 1.1 - allow for t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9882 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-091-1/+1
* Convert channel::name to std::string, this was a beastie!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-195-18/+18
* Convert channel banlist members to std::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-7/+7
* Make User:: nick/ident/dhost/fullname and some other things std::string inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-186-14/+14
* Conversion of command handler params from "const char* const* parameters, int...•••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 Gravatar brain2008-05-046-22/+14
* Convert to SimpleUserModeHandler and SimpleChannelModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9599 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-018-121/+8
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-2/+0
* Set the required prefix for ops to @, thanks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9503 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-141-1/+1
* Fixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. Mod...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9283 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-025-24/+53
* make sure we include the right headers and fix a warning in cmode_b•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9269 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-021-1/+1
* whack a couple of format warnings now showing with r9217•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9218 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-03-301-2/+2
* Make run-cc show ARCHIVE step(s), also get rid of 'entering/leaving directory...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9031 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-241-2/+1
* Convert remaining InspIRCd::Log() calls to new logging system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-221-2/+2
* Someone please help me fix the warnings in modules caused by this change. All...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-1817-29/+22
* As a final test of this, set the permissions required to set channel mode +h ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8937 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-141-1/+1
* HA, that did it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8914 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-121-2/+2
* apparently ar -s is equivalent to ranlib, except it doesnt have a fucking noi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8913 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-121-1/+1