mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: server: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty
This commit is contained in:
@@ -550,7 +550,7 @@ void SV_GetPlayerCount( int *clients, int *bots );
|
||||
|
||||
static inline qboolean SV_HavePassword( void )
|
||||
{
|
||||
if( COM_CheckStringEmpty( sv_password.string ) && Q_stricmp( sv_password.string, "none" ))
|
||||
if( !COM_StringEmpty( sv_password.string ) && Q_stricmp( sv_password.string, "none" ))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user