From 370c7a4388aef1a4af5046fe334d8cb913b80691 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 3 Dec 2006 01:54:45 +0000 Subject: LOL INFINITE LOOPS IN IRCD ARE ROX git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5834 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3