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:
+1
-1
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user