summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
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: <message>)
case "bc":
case "broadcast":