mirror of https://github.com/calzoneman/sync.git
Remove reference to maskIP
This commit is contained in:
parent
c5a52d2ce5
commit
722c55e0da
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue