Permalink
Browse files

Fix continuous loading when the user doesn't exist

  • Loading branch information...
1 parent ac23ef4 commit 724d4b2775b26998954a6d2c0f316854d464f418 HyeonJe Jun committed Sep 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/socket.js
View
1 lib/socket.js
@@ -46,6 +46,7 @@ module.exports = function(socket, connections) {
}
});
} else {
+ socket.emit('login_error', {message: 'No user'});
}
});
});

0 comments on commit 724d4b2

Please sign in to comment.