Skip to content

Commit

Permalink
Correct s2_sample_mm CBufferString usage
Browse files Browse the repository at this point in the history
  • Loading branch information
GAMMACASE authored Jan 17, 2025
1 parent ed8af33 commit ccce734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/s2_sample_mm/sample_mm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void SamplePlugin::Hook_OnClientConnected( CPlayerSlot slot, const char *pszName

bool SamplePlugin::Hook_ClientConnect( CPlayerSlot slot, const char *pszName, uint64 xuid, const char *pszNetworkID, bool unk1, CBufferString *pRejectReason )
{
META_CONPRINTF( "Hook_ClientConnect(%d, \"%s\", %d, \"%s\", %d, \"%s\")\n", slot, pszName, xuid, pszNetworkID, unk1, pRejectReason->ToGrowable()->Get() );
META_CONPRINTF( "Hook_ClientConnect(%d, \"%s\", %d, \"%s\", %d, \"%s\")\n", slot, pszName, xuid, pszNetworkID, unk1, pRejectReason->Get() );

RETURN_META_VALUE(MRES_IGNORED, true);
}
Expand Down

0 comments on commit ccce734

Please sign in to comment.