From: z411 Date: Mon, 7 Nov 2022 17:14:51 +0000 (-0300) Subject: Removed debug logging X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=59f4902dff0a8c1c4f4640cca9df70b3e0da84e7;p=xonotic%2Fxonotic-data.pk3dir.git Removed debug logging --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index fee973f18..83c21ee1b 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1110,8 +1110,6 @@ void ClientConnect(entity this) GameLogEcho(strcat(":join:", ftos(this.playerid), ":", ftos(etof(this)), ":", ((IS_REAL_CLIENT(this)) ? GameLog_ProcessIP(this.netaddress) : "bot"), ":", playername(this.netname, this.team, false))); CS(this).just_joined = true; // stop spamming the eventlog with additional lines when the client connects - - LOG_INFO("Wants join set to false"); CS(this).wants_join = false; stuffcmd(this, clientstuff, "\n"); diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 3f9e7951d..7ccac6ffb 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -244,13 +244,13 @@ entity SpectatorWantsJoin(entity this) FOREACH_CLIENT(IS_REAL_CLIENT(it), { if(it == this) continue; if(CS(it).wants_join) { - LOG_INFOF("Player is waiting to join: %s", it.netname); + LOG_DEBUGF("Player is waiting to join: %s", it.netname); return it; } }); // No players waiting to join - LOG_INFO("No players waiting to join."); + LOG_DEBUG("No players waiting to join."); return NULL; }