diff --git a/lib/channel.js b/lib/channel.js index 1b63c45b..03c7ed9c 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -2893,6 +2893,7 @@ Channel.prototype.handleChat = function (user, data) { if (user.rank < 2 && this.opts.chat_antiflood && user.chatLimiter.throttle(this.opts.chat_antiflood_params)) { user.socket.emit("chatCooldown", 1000 / this.opts.chat_antiflood_params.sustained); + return; } if (smuted) {