]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
host: Refactor Host_Frame; simplify control flow.
[xonotic/darkplaces.git] / netconn.c
index 1b48ac691764de43cc3e0a79bc44bd9d50e281c9..61ffeeda57765948744ddaa9818e2a282baa01aa 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_server, 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)
                        }