mirror of https://github.com/calzoneman/sync.git
Kick/Mute immunity should only be if globalRank is strictly greater
This commit is contained in:
parent
032f600746
commit
4135ec0bf8
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue