]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
Rename src_command to src_local, to clarify its meaning
[xonotic/darkplaces.git] / netconn.c
index 4425dfd5002cf74e57bbb3e0ecc52264279626ac..867c6162772807e3e2eb991fd742a81b60d6c6f0 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -2921,7 +2921,7 @@ static void RCon_Execute(lhnetsocket_t *mysocket, lhnetaddress_t *peeraddress, c
                        if(l)
                        {
                                client_t *host_client_save = host_client;
-                               Cmd_ExecuteString(&cmd_server, s, src_command, 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)
                        }