diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-30 01:05:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-30 01:05:22 +0000 |
commit | e190c2ae913682fa5da83ccf53722289c3e7d77c (patch) | |
tree | 84f8ff71b5e2372e949f577f585467e3976971d8 /src/modules.cpp | |
parent | 01f1f7bb7f0ccbb2b0ed894480f24a6df0477e33 (diff) |
Added mode 'compression', stops abuse with modes like: +s-s+s-s+s-s
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1266 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 339374ae2..1ba2dbc8e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -210,7 +210,6 @@ ExtModeList EMode; // returns true if an extended mode character is in use bool ModeDefined(char modechar, int type) { - log(DEBUG,"Size of extmodes vector is %d",EMode.size()); for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { if ((i->modechar == modechar) && (i->type == type)) @@ -223,7 +222,6 @@ bool ModeDefined(char modechar, int type) bool ModeIsListMode(char modechar, int type) { - log(DEBUG,"Size of extmodes vector is %d",EMode.size()); for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { if ((i->modechar == modechar) && (i->type == type) && (i->list == true)) @@ -236,7 +234,6 @@ bool ModeIsListMode(char modechar, int type) bool ModeDefinedOper(char modechar, int type) { - log(DEBUG,"Size of extmodes vector is %d",EMode.size()); for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) |