summaryrefslogtreecommitdiff
path: root/src/core/os_umode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_umode.c')
-rw-r--r--src/core/os_umode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/os_umode.c b/src/core/os_umode.c
index dce06872f..323f4f3c1 100644
--- a/src/core/os_umode.c
+++ b/src/core/os_umode.c
@@ -35,7 +35,7 @@ class CommandOSUMode : public Command
**/
if (modes[0] != '+' && modes[0] != '-')
{
- this->OnSyntaxError(u);
+ this->OnSyntaxError(u, "");
return MOD_CONT;
}
if (!(u2 = finduser(nick)))
@@ -61,7 +61,7 @@ class CommandOSUMode : public Command
return true;
}
- void OnSyntaxError(User *u)
+ void OnSyntaxError(User *u, const ci::string &subcommand)
{
syntax_error(s_OperServ, u, "UMODE", OPER_UMODE_SYNTAX);
}