From ef921b1f968268f23e62704c0cbd0d72d0728847 Mon Sep 17 00:00:00 2001 From: Erik Date: Sat, 9 Aug 2014 14:41:12 -0400 Subject: [PATCH] Fix logging of customizations --- lib/channel/customization.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/channel/customization.js b/lib/channel/customization.js index 2a67125c..627c9ae3 100644 --- a/lib/channel/customization.js +++ b/lib/channel/customization.js @@ -92,7 +92,7 @@ CustomizationModule.prototype.handleSetCSS = function (user, data) { this.css = data.css.substring(0, 20000); this.sendCSSJS(this.channel.users); - this.channel.logger.log("[mod] " + user.name + " updated the channel CSS"); + this.channel.logger.log("[mod] " + user.getName() + " updated the channel CSS"); }; CustomizationModule.prototype.handleSetJS = function (user, data) { @@ -104,7 +104,7 @@ CustomizationModule.prototype.handleSetJS = function (user, data) { this.js = data.js.substring(0, 20000); this.sendCSSJS(this.channel.users); - this.channel.logger.log("[mod] " + user.name + " updated the channel JS"); + this.channel.logger.log("[mod] " + user.getName() + " updated the channel JS"); }; CustomizationModule.prototype.handleSetMotd = function (user, data) { @@ -116,7 +116,7 @@ CustomizationModule.prototype.handleSetMotd = function (user, data) { var motd = data.motd.substring(0, 20000); this.setMotd(motd); - this.channel.logger.log("[mod] " + user.name + " updated the MOTD"); + this.channel.logger.log("[mod] " + user.getName() + " updated the MOTD"); }; module.exports = CustomizationModule;