allow "rate" command to be executed on server when sent from client
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Feb 2004 17:09:13 +0000 (17:09 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Feb 2004 17:09:13 +0000 (17:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3921 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index a564562..9a06211 100644 (file)
--- 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);