Fix nameban fail
This commit is contained in:
parent
16d3c600fe
commit
7e4dc5a569
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue