]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
Revert "cmd: Merge cmd_server and cmd_client into cmd_local again"
[xonotic/darkplaces.git] / netconn.c
index 5dc1818fc2cec5c276eedb2c3dd5ac0b5f022f97..1b48ac691764de43cc3e0a79bc44bd9d50e281c9 100755 (executable)
--- 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)
                        }