diff --git a/core/Admin/AuthCommands.php b/core/Admin/AuthCommands.php index 93a27c53..b444104c 100644 --- a/core/Admin/AuthCommands.php +++ b/core/Admin/AuthCommands.php @@ -56,7 +56,7 @@ class AuthCommands implements CommandListener, UsageInformationAble { $text = $chatCallback[1][2]; $commandParts = explode(' ', $text); - if (!array_key_exists(1, $commandParts)) { + if (!array_key_exists(1, $commandParts) || $commandParts[1] === "") { $message = $this->maniaControl->getChat()->formatMessage( 'Usage Example: %s %s', $commandParts[0],