summaryrefslogtreecommitdiff
path: root/src/core/bs_unassign.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bs_unassign.c')
-rw-r--r--src/core/bs_unassign.c2
1 files changed, 1 insertions, 1 deletions
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);
}