mirror of https://github.com/calzoneman/sync.git
Fix empty MOTD bug
This commit is contained in:
parent
7f7ae16138
commit
609b3c3d0a
|
@ -1135,9 +1135,8 @@ Channel.prototype.tryUpdateMotd = function(user, data) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(data.motd) {
|
data.motd = data.motd || "";
|
||||||
this.updateMotd(data.motd);
|
this.updateMotd(data.motd);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* REGION Chat */
|
/* REGION Chat */
|
||||||
|
|
Loading…
Reference in New Issue