mirror of https://github.com/calzoneman/sync.git
Fix #186
This commit is contained in:
parent
ab7ad2c36c
commit
b61591b5fb
2
acp.js
2
acp.js
|
@ -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());
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue