summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-11 10:46:14 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-11 10:46:14 +0000
commit136ea16ed8f594f8b86d3fa79337e4d7a7c573df (patch)
tree389f2b56039fe93db1bca6b760070508a994314c /include/modules.h
parent3cc5bf39f5484fa50bb2f726610575450d703186 (diff)
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
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h2
1 files changed, 1 insertions, 1 deletions
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 */