From f4e392d1900845e345ab8c903a15b527a5e45ddf Mon Sep 17 00:00:00 2001 From: calzoneman Date: Wed, 17 Jul 2013 10:09:20 -0400 Subject: [PATCH] Fix bug with tryIPBan --- channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel.js b/channel.js index a2e7a368..68efd2bc 100644 --- a/channel.js +++ b/channel.js @@ -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;