diff options
Diffstat (limited to 'modules/commands/ns_set_greet.cpp')
-rw-r--r-- | modules/commands/ns_set_greet.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_greet.cpp b/modules/commands/ns_set_greet.cpp index 65e8ffd7f..87ac7d1ee 100644 --- a/modules/commands/ns_set_greet.cpp +++ b/modules/commands/ns_set_greet.cpp @@ -32,6 +32,11 @@ class CommandNSSetGreet : 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.empty()) { nc->greet = param; |