summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 821d29e7a..1c2f740c3 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -249,6 +249,7 @@ void ModeParser::DisplayCurrentModes(userrec *user, userrec* targetuser, chanrec
else
{
user->WriteServ("502 %s :Can't change mode for other users", user->nick);
+ return;
}
}