From b61591b5fb2a174373e2694d22174976ce1a1cf0 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 26 Jun 2013 22:49:47 -0400 Subject: [PATCH] Fix #186 --- acp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acp.js b/acp.js index 3ca4d419..735baabc 100644 --- a/acp.js +++ b/acp.js @@ -24,7 +24,7 @@ module.exports = { }); user.socket.on("acp-global-unban", function(ip) { - ActionLog.record(user.ip, user.name, "acp-global-unban", [data.ip]); + ActionLog.record(user.ip, user.name, "acp-global-unban", [ip]); Database.globalUnbanIP(ip); user.socket.emit("acp-global-banlist", Database.refreshGlobalBans()); });