X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=netconn.c;h=1b48ac691764de43cc3e0a79bc44bd9d50e281c9;hb=fa3eb39232d4615d785d738df81a9fa5905c9358;hp=5dc1818fc2cec5c276eedb2c3dd5ac0b5f022f97;hpb=e775691c81f0bcb3b4f85bdfb771e1a4ebbc6b30;p=xonotic%2Fdarkplaces.git diff --git a/netconn.c b/netconn.c index 5dc1818f..1b48ac69 100755 --- a/netconn.c +++ b/netconn.c @@ -2923,7 +2923,7 @@ static void RCon_Execute(lhnetsocket_t *mysocket, lhnetaddress_t *peeraddress, c if(l) { client_t *host_client_save = host_client; - Cmd_ExecuteString(&cmd_local, s, src_local, true); + Cmd_ExecuteString(&cmd_server, s, src_local, true); host_client = host_client_save; // in case it is a command that changes host_client (like restart) }