diff options
Diffstat (limited to 'src/qcommon/cmd.c')
-rw-r--r-- | src/qcommon/cmd.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/qcommon/cmd.c b/src/qcommon/cmd.c index 80e991cd..7ce50ccc 100644 --- a/src/qcommon/cmd.c +++ b/src/qcommon/cmd.c @@ -470,22 +470,6 @@ char *Cmd_Cmd(void) } /* - Replace command separators with space to prevent interpretation - This is a hack to protect buggy qvms - https://bugzilla.icculus.org/show_bug.cgi?id=3593 -*/ -void Cmd_Args_Sanitize( void ) { - int i; - for ( i = 1 ; i < cmd.argc ; i++ ) { - char* c = cmd.argv[i]; - while ((c = strpbrk(c, "\n\r;"))) { - *c = ' '; - ++c; - } - } -} - -/* ============ Cmd_TokenizeString |