summaryrefslogtreecommitdiff
path: root/src/modules/cs_enforce.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/cs_enforce.c')
-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 55990e06a..8335b1758 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -192,7 +192,7 @@ class CommandCSEnforce : public Command
if (!what || !stricmp(what, "SET"))
{
this->DoSet(c);
- me->NoticeLang(s_ChanServ, u, LNG_CHAN_RESPONSE, what);
+ me->NoticeLang(s_ChanServ, u, LNG_CHAN_RESPONSE, what ? what : "SET");
}
else if (!stricmp(what, "MODES"))
{