Consistent-er formatting

This commit is contained in:
osmarks 2018-09-16 15:05:58 +01:00
parent a806b4ae1e
commit 8b64a05d1c
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ const commands = {
const index = ws.channels.indexOf(channel);
if (index > -1) {
ws.channels.splice(index, 1);
return {closed: channel}
return { closed: channel }
} else {
throw new Error("Channel " + channel + " not open.");
}
@ -59,10 +59,10 @@ const commands = {
}
});
return {sentTo};
return { sentTo };
},
getID(ws) {
return {ID: ws.ID};
return { ID: ws.ID };
}
}