diff --git a/lib/channel.js b/lib/channel.js index 34c0e156..1d3dae8a 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -184,7 +184,7 @@ Channel.prototype.tryLoadState = function () { if (mb > 1) { Logger.errlog.log("Large chandump detected: " + self.uniqueName + " (" + mb + " MiB)"); - self.setMOTD("Your channel file has exceeded the maximum size of 1MB " + + self.setMotd("Your channel file has exceeded the maximum size of 1MB " + "and cannot be loaded. Please ask an administrator for " + "assistance in restoring it."); self.error = true; @@ -218,7 +218,7 @@ Channel.prototype.loadState = function () { } else { Logger.errlog.log("Failed to open channel dump " + self.uniqueName); Logger.errlog.log(err); - self.setMOTD("Channel state load failed. Contact an administrator."); + self.setMotd("Channel state load failed. Contact an administrator."); self.error = true; self.emit("ready"); } @@ -297,7 +297,7 @@ Channel.prototype.loadState = function () { } catch (e) { self.error = true; Logger.errlog.log("Channel dump load failed (" + self.uniqueName + "): " + e); - self.setMOTD("Channel state load failed. Contact an administrator."); + self.setMotd("Channel state load failed. Contact an administrator."); self.emit("ready"); } });