major security hole patched.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@660 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-21 04:27:55 +00:00
parent 3c69370a6f
commit 53777ff961

View file

@ -248,7 +248,10 @@ void QT_Create(char *command)
void Con_QTerm_f(void) void Con_QTerm_f(void)
{ {
QT_Create(Cmd_Args()); if(Cmd_FromServer())
Con_Printf("Server tried stuffcmding a restricted commandqterm %s\n", Cmd_Args());
else
QT_Create(Cmd_Args());
} }
#endif #endif