From 4135ec0bf84eaa02ee5a82d9c4d49df49d486b45 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 8 Jan 2015 09:58:44 -0500 Subject: [PATCH] Kick/Mute immunity should only be if globalRank is strictly greater --- lib/channel/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/channel/chat.js b/lib/channel/chat.js index 9d2d9a0a..24ebc299 100644 --- a/lib/channel/chat.js +++ b/lib/channel/chat.js @@ -533,7 +533,7 @@ ChatModule.prototype.handleCmdSMute = function (user, msg, meta) { } if (target.account.effectiveRank >= user.account.effectiveRank - || target.account.globalRank >= user.account.globalRank) { + || target.account.globalRank > user.account.globalRank) { user.socket.emit("errorMsg", { msg: "/smute failed - " + target.getName() + " has equal or higher rank " + "than you."