Permalink
Browse files

Merge pull request #164 from noraesae/minor

Fix continuous loading when the user doesn't exist
  • Loading branch information...
2 parents 5735627 + 724d4b2 commit 91d16cd82601007f24a9864b75ff06f9f8edce88 @thedjpetersen thedjpetersen committed Sep 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/socket.js
View
@@ -46,6 +46,7 @@ module.exports = function(socket, connections) {
}
});
} else {
+ socket.emit('login_error', {message: 'No user'});
}
});
});

0 comments on commit 91d16cd

Please sign in to comment.