]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/ipban.qc
s/(void)/()
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / ipban.qc
index f185d4aef525811dfbb2e88994490dc3c08f307d..7463fefbeafe827a9515660477849fb7030087f1 100644 (file)
@@ -1,5 +1,4 @@
 #include "ipban.qh"
-#include "_all.qh"
 
 #include "autocvars.qh"
 #include "command/banning.qh"
@@ -319,9 +318,7 @@ void Ban_LoadBans()
                }
        }
 
-       entity e;
-       e = spawn();
-       e.classname = "bansyncer";
+       entity e = new(bansyncer);
        e.think = OnlineBanList_Think;
        e.nextthink = time + 1;
 }