diff --git a/file/lib/system/chat/command/CommandHandler.class.php b/file/lib/system/chat/command/CommandHandler.class.php index 4dda64a..270f703 100644 --- a/file/lib/system/chat/command/CommandHandler.class.php +++ b/file/lib/system/chat/command/CommandHandler.class.php @@ -63,7 +63,7 @@ public function loadCommand() { return new commands\Plain($this); } - $class = '\wcf\system\chat\command\commands\\'.ucfirst($parts[0]); + $class = '\wcf\system\chat\command\commands\\'.ucfirst(strtolower($parts[0])); if (!class_exists($class)) { throw new NotFoundException(); }