summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_autoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_set_autoop.cpp')
-rw-r--r--modules/commands/ns_set_autoop.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_autoop.cpp b/modules/commands/ns_set_autoop.cpp
index f69264add..7e3864420 100644
--- a/modules/commands/ns_set_autoop.cpp
+++ b/modules/commands/ns_set_autoop.cpp
@@ -31,6 +31,11 @@ class CommandNSSetAutoOp : public Command
return;
}
NickCore *nc = na->nc;
+
+ EventReturn MOD_RESULT;
+ FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, nc, param));
+ if (MOD_RESULT == EVENT_STOP)
+ return;
if (param.equals_ci("ON"))
{