X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fipban.qc;h=7463fefbeafe827a9515660477849fb7030087f1;hb=5893d23a96568e694cf057af156138dff9e7067e;hp=5bf648a0b5995b7269e7e10ceb09af334088ba44;hpb=c89dfaa4d0342b98c320621557973a65114fbdf4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/ipban.qc b/qcsrc/server/ipban.qc index 5bf648a0b..7463fefbe 100644 --- a/qcsrc/server/ipban.qc +++ b/qcsrc/server/ipban.qc @@ -1,13 +1,10 @@ #include "ipban.qh" -#include "_all.qh" #include "autocvars.qh" #include "command/banning.qh" #include "defs.qh" #include "../common/constants.qh" #include "../common/util.qh" -#include "../dpdefs/dpextensions.qh" -#include "../dpdefs/progsdefs.qh" /* * Protocol of online ban list: @@ -321,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; }