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