From e71ec9a688ccd7920216e86570eab22dc00b71ed Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Thu, 5 Nov 2020 22:33:39 -0500 Subject: [PATCH] Bad Merge --- Classic/scripts/autoexec/EnableLogs.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Classic/scripts/autoexec/EnableLogs.cs b/Classic/scripts/autoexec/EnableLogs.cs index 3751b21..3184dce 100644 --- a/Classic/scripts/autoexec/EnableLogs.cs +++ b/Classic/scripts/autoexec/EnableLogs.cs @@ -62,9 +62,15 @@ function connectLog(%client, %isDisconnect) } } +// voteLog(%client, %typeName, %arg1, %arg2, %arg3, %arg4) +// Info: Logs the vote events +function voteLog(%client, %typeName, %arg1, %arg2, %arg3, %arg4) +{ + if($Host::ClassicVoteLog) { // get the client info %authInfo = %client.getAuthInfo(); + %ip = getField(strreplace(%client.getAddress(),":","\t"),1); // show name for Votekick if(%typeName $= "VoteKickPlayer")