Minor fix for IP aliases
This commit is contained in:
parent
8f1b5c5e38
commit
83e5dbdccd
|
@ -345,7 +345,7 @@ Channel.prototype.saveRank = function(user) {
|
||||||
Channel.prototype.getIPRank = function(ip) {
|
Channel.prototype.getIPRank = function(ip) {
|
||||||
var names = [];
|
var names = [];
|
||||||
if(!(ip in this.ip_alias))
|
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) {
|
this.ip_alias[ip].forEach(function(name) {
|
||||||
names.push(name);
|
names.push(name);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue