diff options
author | jak1 <jak1@themanaworld.org> | 2023-01-12 23:00:38 +0100 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2023-01-12 23:00:38 +0100 |
commit | 20548feae0ad2ace70e92243b1ce48fa1bf50d08 (patch) | |
tree | cab9e5ed39cb3ee7e744ed023c9e61ff83331bfb | |
parent | 72f19788ce5785262d52c43c5e752aa42797a971 (diff) | |
download | thepixelworld-20548feae0ad2ace70e92243b1ce48fa1bf50d08.tar.gz thepixelworld-20548feae0ad2ace70e92243b1ce48fa1bf50d08.tar.bz2 thepixelworld-20548feae0ad2ace70e92243b1ce48fa1bf50d08.tar.xz thepixelworld-20548feae0ad2ace70e92243b1ce48fa1bf50d08.zip |
fixed all commands toLowerCase
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: <message>) case "bc": case "broadcast": |