diff options
Diffstat (limited to 'modules/commands/ns_set_email.cpp')
-rw-r--r-- | modules/commands/ns_set_email.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_email.cpp b/modules/commands/ns_set_email.cpp index 46aec504c..34aa68c5c 100644 --- a/modules/commands/ns_set_email.cpp +++ b/modules/commands/ns_set_email.cpp @@ -78,6 +78,11 @@ class CommandNSSetEmail : public Command return; } + EventReturn MOD_RESULT; + FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, nc, param)); + if (MOD_RESULT == EVENT_STOP) + return; + if (!param.empty() && Config->NSConfirmEmailChanges && !source.IsServicesOper()) { source.nc->Extend("ns_set_email", new ExtensibleItemClass<Anope::string>(param)); |