]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
oops, this is in the server VM
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 Jan 2009 08:23:19 +0000 (08:23 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 Jan 2009 08:23:19 +0000 (08:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8628 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 77c1bfcef2675eaa94775fe3d0bb39194f263d33..0640755657e81f56801059405622c1e3ef01daa9 100644 (file)
@@ -65,7 +65,7 @@ void Host_Status_f (void)
        void (*print) (const char *fmt, ...);
        char ip[22];
        int frags;
-       
+
        if (cmd_source == src_command)
        {
                // if running a client, try to send over network so the client's status report parser will see the report
@@ -82,6 +82,8 @@ void Host_Status_f (void)
        if (!sv.active)
                return;
        
+       SV_VM_Begin();
+       
        in = 0;
        if (Cmd_Argc() == 2)
        {
@@ -187,6 +189,8 @@ void Host_Status_f (void)
                        print ("^7%s\n", client->name);
                }
        }
+
+       SV_VM_End();
 }