]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
fix bug that was preventing rcon_address from working
[xonotic/darkplaces.git] / 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;