fixed console spam on DS
This commit is contained in:
parent
85e618fb1b
commit
ad6db4109b
1 changed files with 1 additions and 1 deletions
|
|
@ -2165,7 +2165,7 @@ void StartFrame (void)
|
|||
ServerPrint ("Player %s had lost remote access to yapb.", STRING (player->v.netname));
|
||||
}
|
||||
}
|
||||
else if (IsNullString (yb_password_key.GetString ()) && IsNullString (yb_password.GetString ()))
|
||||
else if (!(g_clients[i].flags & CF_ADMIN) && !IsNullString (yb_password_key.GetString ()) && !IsNullString (yb_password.GetString ()))
|
||||
{
|
||||
if (strcmp (yb_password.GetString (), INFOKEY_VALUE (GET_INFOKEYBUFFER (g_clients[i].ent), const_cast <char *> (yb_password_key.GetString ()))) == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue