diff --git a/database.js b/database.js index ec14fae2..a6558058 100644 --- a/database.js +++ b/database.js @@ -265,7 +265,7 @@ Database.prototype.setGlobalIPBan = function (ip, reason, callback) { return; } - self.getGlobalIPBans(); + self.listGlobalIPBans(); callback(null, res); }); };