X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fipban.qc;h=a949da10b3ca150a1911c44622bc6c11396a2614;hb=df02c7e6ca72093f5ecd2ad90e317ff648c6a525;hp=bd3aa75c251aae2f712cb2319e1a5ac20c658193;hpb=ad22f3a1bc3b8fd93f5eabb0ab7139908d98b650;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/ipban.qc b/qcsrc/server/ipban.qc index bd3aa75c2..a949da10b 100644 --- a/qcsrc/server/ipban.qc +++ b/qcsrc/server/ipban.qc @@ -1,12 +1,11 @@ #include "ipban.qh" -#include -#include -#include "autocvars.qh" -#include -#include "command/banning.qh" #include +#include #include +#include +#include +#include /* * Protocol of online ban list: @@ -552,7 +551,7 @@ float Ban_Insert(string ip, float bantime, string reason, float dosync) } } } - // if we replace someone, will we be banned longer than him (so long-term + // if we replace someone, will we be banned longer than them (so long-term // bans never get overridden by short-term bans) if(i < ban_count) if(ban_expire[i] > time + bantime)