TBanLists.GetIPBanId

From Soldat Community Wiki
Jump to: navigation, search
function GetIPBanId(IP: ShortString): Integer;  
 IP: IP to be searched
 Result: index of a TBannedIP in TBanLists.IP array

Description

Function is looking for IP on TBanLists.IP array and returns the index.

Expand with: result when hw is not found