diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-02-28 12:09:10 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-02-28 12:09:10 +0000 |
commit | bf6d45c620f098c84d602e9347bc7cf457c38b5a (patch) | |
tree | ec075676ff09467ea910c51fb45fb37185a1ddf3 /source/files.c | |
parent | 4034314816f7ec9e26c9b9bfc2630c8ca0a24874 (diff) |
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.
Diffstat (limited to 'source/files.c')
-rw-r--r-- | source/files.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |