diff --git a/WebContent/js/cah.longpoll.handlers.js b/WebContent/js/cah.longpoll.handlers.js index 9d9222a..6a4121e 100644 --- a/WebContent/js/cah.longpoll.handlers.js +++ b/WebContent/js/cah.longpoll.handlers.js @@ -12,7 +12,10 @@ cah.longpoll.ErrorCodeHandlers.not_registered = function(data) { }; cah.longpoll.EventHandlers.new_player = function(data) { - cah.log.status(data.nickname + " has connected."); + // don't display our own join + if (data.nickname != cah.nickname) { + cah.log.status(data.nickname + " has connected."); + } }; cah.longpoll.EventHandlers.player_leave = function(data) {