From 2b6f1a4d14154312d08e13ba6e8ef23ccf782922 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 6 Apr 2017 23:34:59 +0200 Subject: decrap --- src/server/sv_ccmds.c | 4 ++++ src/server/sv_main.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/server/sv_ccmds.c b/src/server/sv_ccmds.c index acbd01fe..61ee6f11 100644 --- a/src/server/sv_ccmds.c +++ b/src/server/sv_ccmds.c @@ -301,7 +301,10 @@ static void SV_SMQ_f( void ) { } if ( Cmd_Argc() >= 3 && !Q_stricmp( Cmd_Argv( 1 ), "ipa" ) ) // compatibility with out-of-date crapware conceived in the future + { NET_OutOfBandPrint( NS_SERVER, schmAddress, "sm2query %s", Cmd_ArgsFrom( 2 ) ); + Com_Printf( "^3query [^7sm2query %s^3]\n", Cmd_ArgsFrom( 2 ) ); // DELME + } else { char args[ MAX_STRING_CHARS ]; @@ -321,6 +324,7 @@ static void SV_SMQ_f( void ) { } NET_OutOfBandPrint( NS_SERVER, schmAddress, "sm2query%s", args ); + Com_Printf( "^3query [^7sm2query%s^3]\n", args ); // DELME } } diff --git a/src/server/sv_main.c b/src/server/sv_main.c index 6eab835a..a39e3769 100644 --- a/src/server/sv_main.c +++ b/src/server/sv_main.c @@ -807,6 +807,7 @@ static void SV_ConnectionlessPacket( netadr_t from, msg_t *msg ) { // sequenced messages to the old client } else if (!Q_stricmp(c, "sm2reply")) { SVC_SchachtmeisterResponse( from ); + Com_Printf( "^2response [^7%s^2]\n", s ); } else { Com_DPrintf ("bad connectionless packet from %s:\n%s\n", NET_AdrToString (from), s); -- cgit