summaryrefslogtreecommitdiff
path: root/src/modules/hs_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r--src/modules/hs_request.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index 0466f95fe..4601c931b 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -193,7 +193,7 @@ class CommandHSRequest : public Command
return true;
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
me->NoticeLang(s_HostServ, u, LNG_REQUEST_SYNTAX);
}
@@ -258,7 +258,7 @@ class CommandHSActivate : public Command
return true;
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
me->NoticeLang(s_HostServ, u, LNG_ACTIVATE_SYNTAX);
}
@@ -321,7 +321,7 @@ class CommandHSReject : public Command
return true;
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
me->NoticeLang(s_HostServ, u, LNG_REJECT_SYNTAX);
}
@@ -370,7 +370,7 @@ class HSListBase : public Command
{
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
// no-op
}