diff options
Diffstat (limited to 'modules/commands/ns_set_chanstats.cpp')
| -rw-r--r-- | modules/commands/ns_set_chanstats.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_chanstats.cpp b/modules/commands/ns_set_chanstats.cpp index d624e52c6..5bf23907b 100644 --- a/modules/commands/ns_set_chanstats.cpp +++ b/modules/commands/ns_set_chanstats.cpp @@ -30,6 +30,11 @@ class CommandNSSetChanstats : public Command return; } + EventReturn MOD_RESULT; + FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, na->nc, param)); + if (MOD_RESULT == EVENT_STOP) + return; + if (param.equals_ci("ON")) { na->nc->SetFlag(NI_STATS); |
