mirror of https://github.com/calzoneman/sync.git
Add missing return statement
This commit is contained in:
parent
d6650f19ae
commit
8ebacdbe12
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue