summaryrefslogtreecommitdiff
path: root/src/core/cs_ban.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_ban.c')
-rw-r--r--src/core/cs_ban.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c
index dcb051eb2..560563ce8 100644
--- a/src/core/cs_ban.c
+++ b/src/core/cs_ban.c
@@ -104,7 +104,7 @@ class CommandCSBan : public Command
return true;
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
syntax_error(s_ChanServ, u, "BAN", CHAN_BAN_SYNTAX);
}
@@ -151,7 +151,7 @@ class CommandCSUnban : public Command
return true;
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
syntax_error(s_ChanServ, u, "UNBAN", CHAN_UNBAN_SYNTAX);
}