summaryrefslogtreecommitdiff
path: root/source/sv_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_user.c')
-rw-r--r--source/sv_user.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/sv_user.c b/source/sv_user.c
index 0ee0917..52a3b8b 100644
--- a/source/sv_user.c
+++ b/source/sv_user.c
@@ -1154,8 +1154,11 @@ void SV_ExecuteClientMessage( client_t *client ) {
SV_DropClient( client, "oversize stringcmd" );
break;
}
-
- Com_DPrintf( "ClientCommand( %s ): %s\n", client->name, buffer );
+
+ if( developer->integer ) {
+ Com_Printf( S_COLOR_BLUE "ClientCommand( %s ): %s\n",
+ client->name, Q_FormatString( buffer ) );
+ }
// malicious users may try using too many string commands
if( stringCmdCount == MAX_PACKET_STRINGCMDS ) {