From 31d784cfd069ab9f428054e94573c04c6c83687a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=A4=AA?= Date: Tue, 22 Apr 2014 02:51:32 +1000 Subject: [PATCH] Fix previous fix... --- command-parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command-parser.js b/command-parser.js index c2fc942981..ba0c288a53 100644 --- a/command-parser.js +++ b/command-parser.js @@ -292,7 +292,7 @@ function canTalk(user, room, connection, message) { connection.sendTo(room, "Because moderated chat is set, your account must be at least one week old and you must have won at least one ladder game to speak in this room."); return false; } else if (Config.groupsranking.indexOf(userGroup) < Config.groupsranking.indexOf(room.modchat)) { - var groupName = Config.groups[room.modchat].name || groupName = room.modchat; + var groupName = Config.groups[room.modchat].name || room.modchat; connection.sendTo(room, "Because moderated chat is set, you must be of rank " + groupName + " or higher to speak in this room."); return false; }