diff --git a/extension.cpp b/extension.cpp index c77ccd3..18e169a 100644 --- a/extension.cpp +++ b/extension.cpp @@ -61,7 +61,7 @@ DETOUR_DECL_STATIC6(Detour_SendTo, int, int, s, char *, buf, int, len, int, flag { if (memcmp(buf, A2S_INFO_REPLY, 5) == 0) { - g_pSM->LogMessage(myself, "A2S_INFO_REPLY: %s", buf); +// g_pSM->LogMessage(myself, "A2S_INFO_REPLY: %s", buf); char *NewBuf; char *OldBuf; @@ -122,10 +122,10 @@ DETOUR_DECL_STATIC6(Detour_SendTo, int, int, s, char *, buf, int, len, int, flag return DETOUR_STATIC_CALL(Detour_SendTo)(s, NewBuf, len, flags, to, tolen); } - if (memcmp(buf, A2S_PLAYER_REPLY, 5) == 0) - { - g_pSM->LogMessage(myself, "A2S_PLAYER_REPLY: %s", buf); - } +// if (memcmp(buf, A2S_PLAYER_REPLY, 5) == 0) +// { +// g_pSM->LogMessage(myself, "A2S_PLAYER_REPLY: %s", buf); +// } return DETOUR_STATIC_CALL(Detour_SendTo)(s, buf, len, flags, to, tolen); }