From bf6d45c620f098c84d602e9347bc7cf457c38b5a Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Thu, 28 Feb 2008 12:09:10 +0000 Subject: Do not spam dedicated server console with heartbeats. Added autocompletion of options for some commands. Made logfile_prefix not empty by default. Re-enabled `anti-kick' exploit fix. --- source/files.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/files.c') diff --git a/source/files.c b/source/files.c index c3e624d..738ffb0 100644 --- a/source/files.c +++ b/source/files.c @@ -2221,11 +2221,15 @@ static void FS_Stats_f( void ) { } } -static const char *FS_Link_g( const char *partial, int state ) { +static const char *FS_Link_g( const char *partial, int argnum, int state ) { static int length; static fsLink_t *link; char *name; + if( argnum != 1 ) { + return NULL; + } + if( !state ) { length = strlen( partial ); link = fs_links; -- cgit v1.2.3