diff options
Diffstat (limited to 'modules/commands/ns_set_display.cpp')
-rw-r--r-- | modules/commands/ns_set_display.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_display.cpp b/modules/commands/ns_set_display.cpp index 9c70cfa07..1980ba116 100644 --- a/modules/commands/ns_set_display.cpp +++ b/modules/commands/ns_set_display.cpp @@ -37,6 +37,11 @@ class CommandNSSetDisplay : public Command return; } + EventReturn MOD_RESULT; + FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, user_na->nc, param)); + if (MOD_RESULT == EVENT_STOP) + return; + change_core_display(user_na->nc, na->nick); source.Reply(NICK_SET_DISPLAY_CHANGED, user_na->nc->display.c_str()); } |