summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/bs_act.c2
-rw-r--r--src/core/bs_unassign.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/bs_act.c b/src/core/bs_act.c
index 533c7f65a..56fde927e 100644
--- a/src/core/bs_act.c
+++ b/src/core/bs_act.c
@@ -72,7 +72,7 @@ class CommandBSAct : public Command
return MOD_CONT;
}
- void OnBadSyntax(User *u)
+ void OnSyntaxError(User *u)
{
syntax_error(s_BotServ, u, "ACT", BOT_ACT_SYNTAX);
}
diff --git a/src/core/bs_unassign.c b/src/core/bs_unassign.c
index bf66b0073..564c8817d 100644
--- a/src/core/bs_unassign.c
+++ b/src/core/bs_unassign.c
@@ -53,7 +53,7 @@ class CommandBSUnassign : public Command
return true;
}
- void OnBadSyntax(User *u)
+ void OnSyntaxError(User *u)
{
syntax_error(s_BotServ, u, "UNASSIGN", BOT_UNASSIGN_SYNTAX);
}