MOTD now gets sent as an array of lines
This commit is contained in:
parent
736ef76bc0
commit
1c30da5474
3 changed files with 5 additions and 11 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue