diff options
author | lethality <lethality@anope.org> | 2012-10-05 15:15:50 +0100 |
---|---|---|
committer | lethality <lethality@anope.org> | 2012-10-05 15:15:50 +0100 |
commit | 94fc2ba9c927f8950d81e38ef6b962ee5af022df (patch) | |
tree | 0e2ebe2df3ed41e5c7c10aba46bab236d3e11b75 /modules/commands/ns_set_message.cpp | |
parent | 2f87b8e430f5082708d7229b92c10b20f9e98fdf (diff) | |
parent | eff61c7a9708013f9617282c4f327bbe2b1bfb79 (diff) |
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'modules/commands/ns_set_message.cpp')
-rw-r--r-- | modules/commands/ns_set_message.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_message.cpp b/modules/commands/ns_set_message.cpp index ccc204189..fa0ad7ec3 100644 --- a/modules/commands/ns_set_message.cpp +++ b/modules/commands/ns_set_message.cpp @@ -38,6 +38,11 @@ class CommandNSSetMessage : public Command return; } + EventReturn MOD_RESULT; + FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, nc, param)); + if (MOD_RESULT == EVENT_STOP) + return; + if (param.equals_ci("ON")) { nc->SetFlag(NI_MSG); |