Fix bug with tryIPBan

This commit is contained in:
calzoneman 2013-07-17 10:09:20 -04:00
parent 1efcb3acd1
commit f4e392d190

View file

@ -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;