Remove reference to maskIP

This commit is contained in:
calzoneman 2014-08-14 21:50:34 -05:00
parent c5a52d2ce5
commit 722c55e0da
1 changed files with 2 additions and 2 deletions

View File

@ -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 () {