mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
clean them up
This commit is contained in:
@@ -264,14 +264,14 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic
|
||||
return
|
||||
|
||||
if(cid && !isnum(cid) && !(cid == ""))
|
||||
log_and_message_admins("[key_name(owner)] - bancheck with invalid cid! ([cid])")
|
||||
log_and_message_admins("- bancheck with invalid cid! ([cid])", owner)
|
||||
|
||||
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])")
|
||||
log_and_message_admins("- bancheck with invalid ip! ([ip])", owner)
|
||||
|
||||
var/list/ban = world.IsBanned(key = ckey, address = ip, computer_id = cid)
|
||||
if(ban)
|
||||
log_and_message_admins("[key_name(owner)] has a cookie from a banned account! (Cookie: [ckey], [ip], [cid])")
|
||||
log_and_message_admins("has a cookie from a banned account! (Cookie: [ckey], [ip], [cid])", owner)
|
||||
|
||||
//Converts an icon to base64. Operates by putting the icon in the iconCache savefile,
|
||||
// exporting it as text, and then parsing the base64 from that.
|
||||
|
||||
Reference in New Issue
Block a user