MOTD now gets sent as an array of lines

This commit is contained in:
khlieng 2015-02-01 02:08:38 +01:00
parent 736ef76bc0
commit 1c30da5474
3 changed files with 5 additions and 11 deletions

View file

@ -34,7 +34,7 @@ socket.on('pm', function(data) {
});
socket.on('motd', function(data) {
_.each(data.content.split('\n'), function(line) {
_.each(data.content, function(line) {
messageActions.add({
server: data.server,
to: data.server,