From: havoc Date: Sun, 22 Feb 2004 17:09:13 +0000 (+0000) Subject: allow "rate" command to be executed on server when sent from client X-Git-Tag: xonotic-v0.1.0preview~6074 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=ef690a4fe18ee484552621e3e5cd93911a69dd1f allow "rate" command to be executed on server when sent from client git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3921 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_user.c b/sv_user.c index a5645629..9a06211c 100644 --- a/sv_user.c +++ b/sv_user.c @@ -727,6 +727,7 @@ void SV_ReadClientMessage(void) || strncasecmp(s, "ping", 4) == 0 || strncasecmp(s, "ban", 3) == 0 || strncasecmp(s, "pmodel", 6) == 0 + || strncasecmp(s, "rate", 4) == 0 || (gamemode == GAME_NEHAHRA && (strncasecmp(s, "max", 3) == 0 || strncasecmp(s, "monster", 7) == 0 || strncasecmp(s, "scrag", 5) == 0 || strncasecmp(s, "gimme", 5) == 0 || strncasecmp(s, "wraith", 6) == 0)) || (gamemode != GAME_NEHAHRA && (strncasecmp(s, "god", 3) == 0 || strncasecmp(s, "notarget", 8) == 0 || strncasecmp(s, "fly", 3) == 0 || strncasecmp(s, "give", 4) == 0 || strncasecmp(s, "noclip", 6) == 0))) Cmd_ExecuteString (s, src_client);