don't display ourselves connecting at the beginning

This commit is contained in:
Andy Janata 2012-01-12 13:07:19 -08:00
parent c4210a3faa
commit bdf401c443
1 changed files with 4 additions and 1 deletions

View File

@ -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) {