From 06d35978246a4b7d5853809c149641a246aa4a36 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 26 May 2006 01:04:39 +0000 Subject: [PATCH] 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 --- host_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2