summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-06 23:34:59 +0200
committer/dev/humancontroller <devhc@example.com>2017-04-06 23:34:59 +0200
commit2b6f1a4d14154312d08e13ba6e8ef23ccf782922 (patch)
tree3ebd8b9afaa52bbd677ba634ca9abba19d2f30ea /src/server
parentcde6ddad7abe2452301bd9bc3ef06070b19371ee (diff)
decrap
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sv_ccmds.c4
-rw-r--r--src/server/sv_main.c1
2 files changed, 5 insertions, 0 deletions
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);