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 b5e444fc3..a25211bde 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1314,6 +1314,9 @@ void handle_mode(char **parameters, int pcnt, userrec *user)
}
}
strlcpy(dmodes,temp,MAXBUF);
+
+ if (umode == 'o')
+ DeleteOper(dest);
}
}
}