mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-20 09:07:14 +02:00
Insert a custom part reason identifier to be able to distinct between kick and ban.
This commit is contained in:
@ -264,7 +264,8 @@ static const EnumElement g_PartReasonEnum[] = {
|
||||
{_SC("Kick"), vcmpDisconnectReasonKick},
|
||||
{_SC("Crash"), vcmpDisconnectReasonCrash},
|
||||
{_SC("AntiCheat"), vcmpDisconnectReasonAntiCheat},
|
||||
{_SC("Max"), vcmpDisconnectReasonAntiCheat}
|
||||
{_SC("Ban"), vcmpDisconnectReasonAntiCheat + 1},
|
||||
{_SC("Max"), vcmpDisconnectReasonAntiCheat + 1}
|
||||
};
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user