Fix empty MOTD bug

This commit is contained in:
calzoneman 2013-04-28 17:10:00 -05:00
parent 7f7ae16138
commit 609b3c3d0a
1 changed files with 2 additions and 3 deletions

View File

@ -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 */