summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index f5225e0b1..ac4a5eec6 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -496,7 +496,6 @@ void ModeParser::ProcessModes(char **parameters,userrec* user,chanrec *chan,int
while (modelist[len-1] == ' ')
modelist[--len] = '\0';
- bool next_cant_be_modifier = false;
char* modechar;
for (modechar = (modelist + 1); *modechar; ptr++, modechar++)
@@ -517,14 +516,11 @@ void ModeParser::ProcessModes(char **parameters,userrec* user,chanrec *chan,int
case '-':
*outl++ = '-';
mdir = 0;
- next_cant_be_modifier = true;
-
break;
case '+':
*outl++ = '+';
mdir = 1;
- next_cant_be_modifier = true;
break;
case 'o':