fix bug when saving inexistant board

This commit is contained in:
Ophir LOJKINE 2018-11-28 18:33:03 +01:00
parent 5d0901d4ff
commit d8999eccee

View file

@ -72,6 +72,7 @@ function socketConnection(socket) {
}
function saveHistory(boardName, message) {
if (! boardName in boards) return;
var id = message.id;
var boardData = boards[boardName].data;
switch (message.type) {