mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Commands can now be written in any case.
This commit is contained in:
parent
9d80fcb6e2
commit
2c4c816b24
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user