From 20548feae0ad2ace70e92243b1ce48fa1bf50d08 Mon Sep 17 00:00:00 2001 From: jak1 Date: Thu, 12 Jan 2023 23:00:38 +0100 Subject: fixed all commands toLowerCase --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 0eae115..193a4f8 100644 --- a/app.js +++ b/app.js @@ -108,7 +108,7 @@ io.sockets.on('connection', function(socket){ if(modifyer === '@'){ hasPermission(socket.playerName, 1, function(res){ if (res) - switch (command[0]) { + switch (command[0].toLowerCase()) { // @bc (args: ) case "bc": case "broadcast": -- cgit v1.2.3-60-g2f50