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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c
index 47fdedc07..8dc9d0722 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -224,7 +224,7 @@ class CommandCSEnforce : public Command
me->NoticeLang(s_ChanServ, u, LNG_CHAN_RESPONSE, what.c_str());
}
else
- this->OnSyntaxError(u);
+ this->OnSyntaxError(u, "");
}
return MOD_CONT;
@@ -244,7 +244,7 @@ class CommandCSEnforce : public Command
return true;
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
me->NoticeLang(s_ChanServ, u, LNG_ENFORCE_SYNTAX);
}