diff --git a/lib/channel/kickban.js b/lib/channel/kickban.js index 268425c3..1680d44a 100644 --- a/lib/channel/kickban.js +++ b/lib/channel/kickban.js @@ -310,7 +310,7 @@ KickBanModule.prototype.banName = function (actor, name, reason, cb) { KickBanModule.prototype.banIP = function (actor, ip, name, reason, cb) { var self = this; reason = reason.substring(0, 255); - var masked = util.maskIP(ip); + var masked = util.cloakIP(ip); var chan = this.channel; var error = function (what) { @@ -340,7 +340,7 @@ KickBanModule.prototype.banIP = function (actor, ip, name, reason, cb) { chan.logger.log("[mod] " + actor.getName() + " banned " + ip + " (" + name + ")"); if (chan.modules.chat) { chan.modules.chat.sendModMessage(actor.getName() + " banned " + - util.maskIP(ip) + " (" + name + ")", + util.cloakIP(ip) + " (" + name + ")", chan.modules.permissions.permissions.ban); } }).then(function () {