Make management commands case-insensitive

This commit is contained in:
Tulir Asokan
2018-01-29 21:32:20 +02:00
parent 02afc0bc03
commit 68ec550c3b
+1
View File
@@ -52,6 +52,7 @@ class CommandHandler:
@contextmanager
def handler(self, sender, room, command, args, is_management, is_portal):
command = command.lower()
self._room_id = room
try:
command = command_handlers[command]