mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
Don't have clients use private slots when sv_privatePassword is unset
This commit is contained in:
parent
ab8bcf5c5b
commit
c68e471430
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ void SV_DirectConnect( netadr_t from ) {
|
|||
|
||||
// check for privateClient password
|
||||
password = Info_ValueForKey( userinfo, "password" );
|
||||
if ( !strcmp( password, sv_privatePassword->string ) ) {
|
||||
if ( *password && !strcmp( password, sv_privatePassword->string ) ) {
|
||||
startIndex = 0;
|
||||
} else {
|
||||
// skip past the reserved slots
|
||||
|
|
Loading…
Reference in a new issue