diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index c865ebe2f..f3cf54e6a 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -395,6 +395,10 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool if (parameter_counter < pcnt) { parameter = parameters[parameter_counter++]; + + /* Yerk, invalid! */ + if ((parameter.rfind(':') || (parameter.rfind(' ')))) + parameter = ""; } else { |