[quake3-commits] r1633 - trunk/code/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Sep 17 12:54:01 EDT 2009
Author: thilo
Date: 2009-09-17 12:54:01 -0400 (Thu, 17 Sep 2009)
New Revision: 1633
Modified:
trunk/code/server/sv_main.c
Log:
Add received rcon command string to server log, see https://bugzilla.icculus.org/show_bug.cgi?id=3748
Modified: trunk/code/server/sv_main.c
===================================================================
--- trunk/code/server/sv_main.c 2009-09-17 09:42:05 UTC (rev 1632)
+++ trunk/code/server/sv_main.c 2009-09-17 16:54:01 UTC (rev 1633)
@@ -512,10 +512,10 @@
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
More information about the quake3-commits
mailing list