]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/ipban.qc
Step 5: complete
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / ipban.qc
index 5de4c56a7e796260d04e69b812ba8f8ffc2320e9..8cc37597938b17bbba95d75f972935366c2ed9d0 100644 (file)
@@ -237,13 +237,13 @@ void OnlineBanList_Think(entity this)
        }
 
        if(autocvar_g_ban_sync_interval > 0)
-               self.nextthink = time + max(60, autocvar_g_ban_sync_interval * 60);
+               this.nextthink = time + max(60, autocvar_g_ban_sync_interval * 60);
        else
                goto killme;
        return;
 
 LABEL(killme)
-       remove(self);
+       remove(this);
 }
 
 const float BAN_MAX = 256;