diff options
Diffstat (limited to 'modules/commands/ns_set_secure.cpp')
| -rw-r--r-- | modules/commands/ns_set_secure.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_secure.cpp b/modules/commands/ns_set_secure.cpp index 9b94451cc..52eea8e5b 100644 --- a/modules/commands/ns_set_secure.cpp +++ b/modules/commands/ns_set_secure.cpp @@ -32,6 +32,11 @@ class CommandNSSetSecure : public Command } 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")) { nc->SetFlag(NI_SECURE); |
