summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index aab5a403a..6f06027e4 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1288,6 +1288,10 @@ void handle_mode(char **parameters, int pcnt, userrec *user)
dmodes[strlen(dmodes)] = parameters[1][i];
outpars[strlen(outpars)+1]='\0';
outpars[strlen(outpars)] = parameters[1][i];
+ if (parameters[1][i] == 'o')
+ {
+ FOREACH_MOD OnGlobalOper(dest);
+ }
}
}
}