From: Rudolf Polzer Date: Sun, 8 Apr 2012 18:29:12 +0000 (+0200) Subject: print the IP address, not the name, when a banned client tried to join X-Git-Tag: xonotic-v0.7.0~341 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9820fb8b6a8f7ffe6b8a889bc095d2caff1351c7;p=xonotic%2Fxonotic-data.pk3dir.git print the IP address, not the name, when a banned client tried to join --- diff --git a/qcsrc/server/ipban.qc b/qcsrc/server/ipban.qc index f770dc513..91416b835 100644 --- a/qcsrc/server/ipban.qc +++ b/qcsrc/server/ipban.qc @@ -475,7 +475,7 @@ string Ban_Enforce(float i, string reason) reason = strcat(reason, ", "); reason = strcat(reason, e.netname); } - s = strcat(s, "^1NOTE:^7 banned client ", e.netname, "^7 has to go\n"); + s = strcat(s, "^1NOTE:^7 banned client ", e.netaddress, "^7 has to go\n"); dropclient(e); } bprint(s);