bool_t bShowRawCodes;In protocol.c, add the following initialisation in ProtocolCreate():
pProtocol->bShowRawCodes = false;In protocol.c, replace the following line near the top of ProtocolOutput():
if ( pProtocol == NULL || apData == NULL )With:
if ( pProtocol == NULL || apData == NULL || pProtocol->bShowRawCodes )Now you can toggle between showing and hiding the raw codes by setting the flag.
/* If we don't support MSDP, fake it with ATCP */Note that the impact of the above bug was minimal, because MSDP already overrides ATCP. All it meant was that if your client supports both MSDP and ATCP, the mud would send SERVER_ID twice.
if ( !pProtocol->bMSDP );
{
pProtocol->bATCP = true;