From: havoc Date: Fri, 26 May 2006 01:04:39 +0000 (+0000) Subject: fix bug that was preventing rcon_address from working X-Git-Tag: xonotic-v0.1.0preview~3978 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=06d35978246a4b7d5853809c149641a246aa4a36;p=xonotic%2Fdarkplaces.git fix bug that was preventing rcon_address from working git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6392 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index 2d34b90a..bf993d67 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -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;