SV_RehashBans_f may be executed when the server isn't running (#785)
This commit is contained in:
1 parent
266357ffbe
commit
56f9f94ee7
1 file changed
-5
@@ -639,11 +639,6 @@ static void SV_RehashBans_f(void)
|
||||
char *textbuf, *curpos, *maskpos, *newlinepos, *endpos;
|
||||
char filepath[MAX_QPATH];
|
||||
|
||||
// make sure server is running
|
||||
if ( !com_sv_running->integer ) {
|
||||
return;
|
||||
}
|
||||
|
||||
serverBansCount = 0;
|
||||
|
||||
if(!sv_banFile->string || !*sv_banFile->string)
|
||||
|
||||
Reference in new issue
Block a user