summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_hide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_set_hide.cpp')
-rw-r--r--modules/commands/ns_set_hide.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_hide.cpp b/modules/commands/ns_set_hide.cpp
index 063200d15..4770653f2 100644
--- a/modules/commands/ns_set_hide.cpp
+++ b/modules/commands/ns_set_hide.cpp
@@ -32,6 +32,11 @@ class CommandNSSetHide : public Command
}
NickCore *nc = na->nc;
+ EventReturn MOD_RESULT;
+ FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, nc, param));
+ if (MOD_RESULT == EVENT_STOP)
+ return;
+
Anope::string onmsg, offmsg;
NickCoreFlag flag;