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 --- include/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index ec1fe18fc..8f441c66b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -205,7 +205,7 @@ class Command /** Requested when the user provides bad syntax to this command (not enough params, etc). * @param u The user executing the command. */ - virtual void OnBadSyntax(User *u) { } + virtual void OnSyntaxError(User *u) { } int (*has_priv)(User *u); /* Returns 1 if user may use command, else 0 */ -- cgit