From 7e4dc5a5697caf66ca7189d6510e79fe2f300eab Mon Sep 17 00:00:00 2001 From: calzoneman Date: Mon, 27 May 2013 15:15:22 -0400 Subject: [PATCH] Fix nameban fail --- database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.js b/database.js index 64913180..73246d0b 100644 --- a/database.js +++ b/database.js @@ -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];