Minor fix for IP aliases

This commit is contained in:
calzoneman 2013-07-06 11:33:15 -04:00
parent 8f1b5c5e38
commit 83e5dbdccd
1 changed files with 1 additions and 1 deletions

View File

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