Fix nameban fail

This commit is contained in:
calzoneman 2013-05-27 15:15:22 -04:00
parent 16d3c600fe
commit 7e4dc5a569

View file

@ -296,7 +296,7 @@ function loadChannel(chan) {
for(var i = 0; i < rows.length; i++) {
var r = rows[i];
if(r.ip == "*") {
chan.nameban[r.name] = r.banner;
chan.namebans[r.name] = r.banner;
}
else {
chan.ipbans[r.ip] = [r.name, r.banner];