This commit is contained in:
Calvin Montgomery 2013-06-26 22:49:47 -04:00
parent ab7ad2c36c
commit b61591b5fb

2
acp.js
View file

@ -24,7 +24,7 @@ module.exports = {
}); });
user.socket.on("acp-global-unban", function(ip) { 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); Database.globalUnbanIP(ip);
user.socket.emit("acp-global-banlist", Database.refreshGlobalBans()); user.socket.emit("acp-global-banlist", Database.refreshGlobalBans());
}); });