summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 0f4f0d976..ec29024e0 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1365,7 +1365,10 @@ void cmd_mode::Handle (char **parameters, int pcnt, userrec *user)
strlcpy(dmodes,temp,52);
if (umode == 'o')
+ {
+ *dest->oper = 0;
DeleteOper(dest);
+ }
}
}
}