From 96193f59fb4a6dfa61fbfccbc8e8fcac40579f81 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 27 Oct 2006 10:58:13 +0000 Subject: [PATCH] Adding untested demo searching for unix systems. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2430 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/forward.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/fteqtv/forward.c b/fteqtv/forward.c index 062284251..d57d4dfe6 100644 --- a/fteqtv/forward.c +++ b/fteqtv/forward.c @@ -682,7 +682,10 @@ void SV_GenerateAdminHTTP(cluster_t *cluster, oproxy_t *dest, int streamid, char o = ""; else if (!strcmp(pwd, cluster->adminpassword)) { + //small hack (as http connections are considered non-connected proxies) + cluster->numproxies--; o = Rcon_Command(cluster, NULL, cmd, result, sizeof(result), false); + cluster->numproxies++; } else { @@ -702,6 +705,8 @@ void SV_GenerateAdminHTTP(cluster_t *cluster, oproxy_t *dest, int streamid, char "" "" "QuakeTV: Admin\n" + +//this section of code is to put focus into the command box, so you don't need to click it all the time. "