diff options
Diffstat (limited to 'modules/commands/ns_set_language.cpp')
-rw-r--r-- | modules/commands/ns_set_language.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_language.cpp b/modules/commands/ns_set_language.cpp index a4b7d5aef..43162d6fd 100644 --- a/modules/commands/ns_set_language.cpp +++ b/modules/commands/ns_set_language.cpp @@ -32,6 +32,11 @@ class CommandNSSetLanguage : public Command } NickCore *nc = na->nc; + EventReturn MOD_RESULT; + FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, nc, param)); + if (MOD_RESULT == EVENT_STOP) + return; + for (unsigned j = 0; j < languages.size(); ++j) { if (param == "en" || languages[j] == param) |