From 136ea16ed8f594f8b86d3fa79337e4d7a7c573df Mon Sep 17 00:00:00 2001 From: rburchell Date: Wed, 11 Feb 2009 10:46:14 +0000 Subject: Fix naming discrepancy meaning some commands were not issuing syntax errors. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2012 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_act.c | 2 +- src/core/bs_unassign.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') 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); } -- cgit