mirror of https://github.com/calzoneman/sync.git
Fix bug with tryIPBan
This commit is contained in:
parent
1efcb3acd1
commit
f4e392d190
|
@ -458,7 +458,7 @@ Channel.prototype.tryIPBan = function(actor, name, range) {
|
|||
return false;
|
||||
|
||||
// Update database ban table
|
||||
return this.server.db.channelBan(chan.name, ip, name, actor.name);
|
||||
return chan.server.db.channelBan(chan.name, ip, name, actor.name);
|
||||
});
|
||||
|
||||
var chan = this;
|
||||
|
|
Loading…
Reference in New Issue