1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 16:03:15 +02:00

Bug #1213 - Fixed /cs enforce #channel to say SET was enforced not (null)

This commit is contained in:
Adam
2010-12-15 12:10:36 -05:00
parent 2b7dd6c2a0
commit 13688c595b
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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);