mirror of https://github.com/calzoneman/sync.git
Subject moderators to MIN_ANTIFLOOD rather than channel limit
This commit is contained in:
parent
7debb7afa7
commit
7782ba4ae5
|
@ -257,7 +257,8 @@ ChatModule.prototype.processChatMsg = function (user, data) {
|
|||
var msgobj = this.formatMessage(user.getName(), data);
|
||||
var antiflood = MIN_ANTIFLOOD;
|
||||
if (this.channel.modules.options &&
|
||||
this.channel.modules.options.get("chat_antiflood")) {
|
||||
this.channel.modules.options.get("chat_antiflood") &&
|
||||
user.account.effectiveRank < 2) {
|
||||
|
||||
antiflood = this.channel.modules.options.get("chat_antiflood_params");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue