diff options
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 2 |
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 */ |