X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=sv_user.c;h=ada7f28a722d665c462548594479ba609c032bf8;hb=b86d61bb8619edb9f51ef2d06f3041c058f89904;hp=a5645629d14f181e7f53010399a02a8473f4b0e8;hpb=168e698298ba31a1d0c53fff93a7156229c42183;p=xonotic%2Fdarkplaces.git diff --git a/sv_user.c b/sv_user.c index a5645629..ada7f28a 100644 --- a/sv_user.c +++ b/sv_user.c @@ -681,7 +681,7 @@ void SV_ReadClientMessage(void) if (msg_badread) { - Con_Printf ("SV_ReadClientMessage: badread\n"); + Con_Print("SV_ReadClientMessage: badread\n"); SV_DropClient (false); return; } @@ -696,7 +696,7 @@ void SV_ReadClientMessage(void) switch (cmd) { default: - Con_Printf ("SV_ReadClientMessage: unknown command char %i\n", cmd); + Con_Printf("SV_ReadClientMessage: unknown command char %i\n", cmd); SV_DropClient (false); return; @@ -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);