mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 12:32:09 +00:00
Add received rcon command string to server log, see https://bugzilla.icculus.org/show_bug.cgi?id=3748
This commit is contained in:
parent
cc8990495a
commit
5fec4498f1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue