summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-15 12:10:36 -0500
committerAdam <Adam@anope.org>2010-12-15 12:10:36 -0500
commit13688c595bd11c3a4a093bc82a7d5f2733640abb (patch)
tree29a8d03cf8c7bd42dc5eada15502d4a5f2366191 /src/modules
parent2b7dd6c2a023186aefe12eaee7d33595379bf4c5 (diff)
Bug #1213 - Fixed /cs enforce #channel to say SET was enforced not (null)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/cs_enforce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c
index c605a7deb..602975d16 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -221,7 +221,7 @@ int my_cs_enforce(User * u)
what = myStrGetToken(cur_buffer, ' ', 1);
if (!what || (stricmp(what, "SET") == 0)) {
do_enforce_set(c);
- moduleNoticeLang(s_ChanServ,u,LNG_CHAN_RESPONSE,what);
+ moduleNoticeLang(s_ChanServ,u,LNG_CHAN_RESPONSE, what ? what : "SET");
} else if (stricmp(what, "MODES") == 0) {
do_enforce_modes(c);
moduleNoticeLang(s_ChanServ,u,LNG_CHAN_RESPONSE,what);