diff options
Diffstat (limited to 'modules/commands/ns_set_kill.cpp')
-rw-r--r-- | modules/commands/ns_set_kill.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_kill.cpp b/modules/commands/ns_set_kill.cpp index 8d0ea08cf..ca0f804d3 100644 --- a/modules/commands/ns_set_kill.cpp +++ b/modules/commands/ns_set_kill.cpp @@ -32,6 +32,11 @@ class CommandNSSetKill : 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_KILLPROTECT); |