Prevent voteban evading & add ban length cvar (#1249)
This commit is contained in:
@@ -36,6 +36,7 @@ void DisplayVoteBanMenu(int client, int target)
|
||||
g_voteTarget = GetClientUserId(target);
|
||||
|
||||
GetClientName(target, g_voteInfo[VOTE_NAME], sizeof(g_voteInfo[]));
|
||||
GetClientAuthId(target, AuthId_Steam2, g_voteInfo[VOTE_AUTHID], sizeof(g_voteInfo[]));
|
||||
GetClientIP(target, g_voteInfo[VOTE_IP], sizeof(g_voteInfo[]));
|
||||
|
||||
LogAction(client, target, "\"%L\" initiated a ban vote against \"%L\"", client, target);
|
||||
|
||||
Reference in New Issue
Block a user