X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=host_cmd.c;h=bf993d67d799bf3f237f5f72c8bd9a86d1eaa523;hb=84014726ba79875d25bc5128d91c28039deffdc2;hp=2d34b90a9274601920fcdee6b43defec7e5503f7;hpb=13192ac6081831489c47e1b50642d9e2cc354376;p=xonotic%2Fdarkplaces.git 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;