]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix typo in pqrcon
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Jul 2009 15:04:46 +0000 (15:04 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Jul 2009 15:04:46 +0000 (15:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9041 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 4fdd83da7c56aa6064dbfe89c58cae8575df34f5..b3b7b9bb0a8e45e720f31da697c870a7d6cc2f1d 100644 (file)
@@ -2361,7 +2361,7 @@ void Host_PQRcon_f (void)
        lhnetsocket_t *mysocket;
        char peer_address[64];
 
-       if (!rcon_password.string || !rcon_password.string[0] || !rcon_secure.integer)
+       if (!rcon_password.string || !rcon_password.string[0] || rcon_secure.integer)
        {
                Con_Printf ("You must set rcon_password before issuing an pqrcon command, and rcon_secure must be 0.\n");
                return;