Revert "Revert "12/10/23 - Map swap update" (#15593)" (#15594)

This reverts commit f00d13da66.
This commit is contained in:
Selis
2023-12-11 00:22:42 +01:00
committed by GitHub
parent f00d13da66
commit 7ccdbb258f
115 changed files with 9957 additions and 3444 deletions
+3 -3
View File
@@ -20,7 +20,7 @@
if(!config.ipr_email)
return -1
var/request = "http://check.getipintel.net/check.php?ip=[address]&contact=[config.ipr_email]"
var/request = "https://check.getipintel.net/check.php?ip=[address]&contact=[config.ipr_email]"
var/http[] = world.Export(request)
if(!http || !islist(http)) //If we couldn't check, the service might be down, fail-safe.
@@ -74,7 +74,7 @@
if(!config.ipqualityscore_apikey)
return -1
var/request = "http://www.ipqualityscore.com/api/json/ip/[config.ipqualityscore_apikey]/[address]?strictness=1&fast=true&byond_key=[key]"
var/request = "https://www.ipqualityscore.com/api/json/ip/[config.ipqualityscore_apikey]/[address]?strictness=1&fast=true&byond_key=[key]"
var/http[] = world.Export(request)
if(!http || !islist(http)) //If we couldn't check, the service might be down, fail-safe.
@@ -97,4 +97,4 @@
else
score = response["fraud_score"]
return score/100 //To normalize with the 0.0 to 1.0 scores.
return score/100 //To normalize with the 0.0 to 1.0 scores.