Kick/Mute immunity should only be if globalRank is strictly greater

This commit is contained in:
Erik 2015-01-08 09:58:44 -05:00
parent 032f600746
commit 4135ec0bf8
1 changed files with 1 additions and 1 deletions

View File

@ -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."