rcon bugfix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@794 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-16 02:27:30 +00:00
parent ca3f6d69a6
commit 42bcf8b637

View file

@ -148,7 +148,7 @@ void IWeb_GenerateAdminFile(char *parms, char *content, int contentlength)
if (!strcmp(rcon_password.string, pwd)) if (!strcmp(rcon_password.string, pwd))
{ {
Con_Printf("Web based rcon: %s\n", cmd); Con_Printf("Web based rcon: %s\n", cmd);
SV_BeginRedirect(-1); SV_BeginRedirect(RD_OBLIVION, host_client->language);
Cmd_ExecuteString(cmd, RESTRICT_RCON); Cmd_ExecuteString(cmd, RESTRICT_RCON);
for (mark = start = outputbuf; *mark; mark++) for (mark = start = outputbuf; *mark; mark++)
{ {