From 83e5dbdccd537cf97244cfa58476fc54fe594ba0 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sat, 6 Jul 2013 11:33:15 -0400 Subject: [PATCH] Minor fix for IP aliases --- channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel.js b/channel.js index 9df83a5d..60ba88fd 100644 --- a/channel.js +++ b/channel.js @@ -345,7 +345,7 @@ Channel.prototype.saveRank = function(user) { Channel.prototype.getIPRank = function(ip) { var names = []; if(!(ip in this.ip_alias)) - this.ip_alias = Database.getAliases(ip); + this.ip_alias[ip] = Database.getAliases(ip); this.ip_alias[ip].forEach(function(name) { names.push(name); });