mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Bugfix for the Bugfix (#6793)
Co-authored-by: Casey <a.roaming.shadow@gmail.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -266,7 +266,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic
|
||||
if(cid && !isnum(cid) && !(cid == ""))
|
||||
log_and_message_admins("[key_name(owner)] - bancheck with invalid cid! ([cid])")
|
||||
|
||||
if(ip && !findtext(ip, new/regex("^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$")) && !(ip == ""))
|
||||
if(ip && !findtext(ip, new/regex(@"^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$")) && !(ip == ""))
|
||||
log_and_message_admins("[key_name(owner)] - bancheck with invalid ip! ([ip])")
|
||||
|
||||
var/list/ban = world.IsBanned(key = ckey, address = ip, computer_id = cid)
|
||||
|
||||
Reference in New Issue
Block a user