summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-03 01:54:45 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-03 01:54:45 +0000
commit370c7a4388aef1a4af5046fe334d8cb913b80691 (patch)
tree37d322903754c513f87d6b8106ad341a83cfebec /src/mode.cpp
parent463bb4410aba2541c1289f95336dea938656f8c5 (diff)
LOL INFINITE LOOPS IN IRCD ARE ROX
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5834 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 722e06b4a..eee50c293 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -293,7 +293,10 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
while (mode && *mode)
{
if (*mode == '+')
+ {
+ mode++;
continue;
+ }
ModeHandler *mh = this->FindMode(*mode, MODETYPE_CHANNEL);