From: Mattia Basaglia Date: Fri, 16 Jan 2015 15:26:09 +0000 (+0100) Subject: Ensure we aren't kicking a client which has already been kicked X-Git-Tag: xonotic-v0.8.1~139^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0b2abd30f3dad0269b0678f6c9e7319982b08192;p=xonotic%2Fxonotic-data.pk3dir.git Ensure we aren't kicking a client which has already been kicked --- diff --git a/qcsrc/server/ipban.qc b/qcsrc/server/ipban.qc index 666c3c2ce..9f044b958 100644 --- a/qcsrc/server/ipban.qc +++ b/qcsrc/server/ipban.qc @@ -605,5 +605,6 @@ void Ban_KickBanClient(entity client, float bantime, float masksize, string reas // and kick him sprint(client, strcat("Kickbanned: ", reason, "\n")); */ - dropclient(client); + if (IS_REAL_CLIENT(client)) + dropclient(client); }