summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_misc.cpp
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2012-10-05 15:15:50 +0100
committerlethality <lethality@anope.org>2012-10-05 15:15:50 +0100
commit94fc2ba9c927f8950d81e38ef6b962ee5af022df (patch)
tree0e2ebe2df3ed41e5c7c10aba46bab236d3e11b75 /modules/commands/ns_set_misc.cpp
parent2f87b8e430f5082708d7229b92c10b20f9e98fdf (diff)
parenteff61c7a9708013f9617282c4f327bbe2b1bfb79 (diff)
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'modules/commands/ns_set_misc.cpp')
-rw-r--r--modules/commands/ns_set_misc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/commands/ns_set_misc.cpp b/modules/commands/ns_set_misc.cpp
index 0b7011892..9c805b3ea 100644
--- a/modules/commands/ns_set_misc.cpp
+++ b/modules/commands/ns_set_misc.cpp
@@ -84,6 +84,11 @@ class CommandNSSetMisc : public Command
}
NickCore *nc = na->nc;
+ EventReturn MOD_RESULT;
+ FOREACH_RESULT(I_OnSetNickOption, OnSetNickOption(source, this, nc, param));
+ if (MOD_RESULT == EVENT_STOP)
+ return;
+
Anope::string scommand = GetAttribute(source.command);
Anope::string key = "ns_set_misc:" + scommand;
nc->Shrink(key);