diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 1b2ea3442..f74a2ac60 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -487,7 +487,7 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool || (parameter_count > MAXMODES)) { /* We cant have a mode sequence this long */ - letter = mode_sequence.end(); + letter = mode_sequence.end() - 1; continue; } } |