]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
ipban fix for engine change
authorRudolf Polzer <divverent@xonotic.org>
Mon, 10 Feb 2014 16:42:28 +0000 (17:42 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 10 Feb 2014 16:42:28 +0000 (17:42 +0100)
qcsrc/server/cl_client.qc
qcsrc/server/ipban.qc

index 691c4930e995978bc50135e3185260b659fd6979..b828475c135e36546325035cdb0d46648a9d634e 100644 (file)
@@ -991,7 +991,7 @@ float PlayerInIDList(entity p, string idlist)
        float n, i;
        string s;
 
-       // NOTE: we do NOT check crypto_keyfp here, an unsigned ID is fine too for this
+       // NOTE: we do NOT check crypto_idfp_signed here, an unsigned ID is fine too for this
        if (!p.crypto_idfp)
                return 0;
 
index a180547c0f97c09cb3632fdeb694e9bece0762a5..e53e4f9e027269147fd9709a1ea5e1eb6e8704f5 100644 (file)
@@ -348,7 +348,7 @@ float Ban_GetClientIP(entity client)
        float i1, i2, i3, i4;
        string s;
 
-       if(client.crypto_keyfp)
+       if(client.crypto_idfp_signed)
                ban_idfp = client.crypto_idfp;
        else
                ban_idfp = string_null;