diff --git a/channel.js b/channel.js index 6e69000a..f1159182 100644 --- a/channel.js +++ b/channel.js @@ -1135,9 +1135,8 @@ Channel.prototype.tryUpdateMotd = function(user, data) { return; } - if(data.motd) { - this.updateMotd(data.motd); - } + data.motd = data.motd || ""; + this.updateMotd(data.motd); } /* REGION Chat */