]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix bug that was preventing rcon_address from working
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 26 May 2006 01:04:39 +0000 (01:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 26 May 2006 01:04:39 +0000 (01:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6392 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 2d34b90a9274601920fcdee6b43defec7e5503f7..bf993d67d799bf3f237f5f72c8bd9a86d1eaa523 100644 (file)
@@ -2075,7 +2075,7 @@ void Host_Rcon_f (void) // credit: taken from QuakeWorld
                to = cls.netcon->peeraddress;
        else
        {
-               if (!rcon_address.integer || !rcon_address.string[0])
+               if (!rcon_address.string[0])
                {
                        Con_Printf ("You must either be connected, or set the rcon_address cvar to issue rcon commands\n");
                        return;