mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 22:20:58 +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 ) ||
|
if ( !strlen( sv_rconPassword->string ) ||
|
||||||
strcmp (Cmd_Argv(1), sv_rconPassword->string) ) {
|
strcmp (Cmd_Argv(1), sv_rconPassword->string) ) {
|
||||||
valid = qfalse;
|
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 {
|
} else {
|
||||||
valid = qtrue;
|
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
|
// start redirecting all print outputs to the packet
|
||||||
|
|
Loading…
Reference in a new issue