diff options
Diffstat (limited to 'code/server')
-rw-r--r-- | code/server/sv_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/server/sv_main.c b/code/server/sv_main.c index 5d3c7ff..6215791 100644 --- a/code/server/sv_main.c +++ b/code/server/sv_main.c @@ -512,10 +512,10 @@ static void SVC_RemoteCommand( netadr_t from, msg_t *msg ) { if ( !strlen( sv_rconPassword->string ) || strcmp (Cmd_Argv(1), sv_rconPassword->string) ) { valid = qfalse; - Com_Printf ("Bad rcon from %s:\n%s\n", NET_AdrToString (from), Cmd_Argv(2) ); + Com_Printf ("Bad rcon from %s: %s\n", NET_AdrToString (from), Cmd_ArgsFrom(2) ); } else { valid = qtrue; - Com_Printf ("Rcon from %s:\n%s\n", NET_AdrToString (from), Cmd_Argv(2) ); + Com_Printf ("Rcon from %s: %s\n", NET_AdrToString (from), Cmd_ArgsFrom(2) ); } // start redirecting all print outputs to the packet |