active users fix

This commit is contained in:
Baris Soner Usakli
2014-03-01 22:51:39 -05:00
parent fb691b23b4
commit 1b7f8cc5cb
4 changed files with 18 additions and 15 deletions

View File

@@ -85,7 +85,7 @@ SocketMeta.rooms.enter = function(socket, data) {
socket.join(data.enter);
if (data.leave) {
if (data.leave && data.leave !== data.enter) {
module.parent.exports.updateRoomBrowsingText(data.leave);
}