From: Mario Date: Sun, 1 Feb 2015 12:39:45 +0000 (+1100) Subject: Possibly fix server console spam when IRC users chat X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=260b928f071f4f0bd08d232be32b65e7fe396438;p=xonotic%2Fxonotic-data.pk3dir.git Possibly fix server console spam when IRC users chat --- diff --git a/qcsrc/server/cl_player.qc b/qcsrc/server/cl_player.qc index 64eadf4a3..30af660f0 100644 --- a/qcsrc/server/cl_player.qc +++ b/qcsrc/server/cl_player.qc @@ -968,9 +968,10 @@ void IRCSay(string sourcename, string msgin) if(IS_PLAYER(head)) continue; - if(head.netaddress) - if(head.netaddress != "") - if(head.netaddress != "null/botclient") + //if(head.netaddress) + //if(head.netaddress != "") + //if(head.netaddress != "null/botclient") + if(IS_REAL_CLIENT(head)) sprint(head, msgstr); } }