1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 22:23:13 +02:00

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
This commit is contained in:
rburchell
2009-02-11 10:46:14 +00:00
parent 3cc5bf39f5
commit 136ea16ed8
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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 */