mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-08-26 02:54:00 -05:00
Added remote type to check_for_game_client
This commit is contained in:
@@ -34,6 +34,9 @@ def check_for_game_client(check_type="strict"):
|
||||
f"from IP: {_get_remote_ip()}")
|
||||
print(f"INVALID User-Agent: {user_agent}, IP: {_get_remote_ip()}")
|
||||
abort(403)
|
||||
elif check_type == "remote":
|
||||
remote = _get_remote_ip()
|
||||
return remote
|
||||
else:
|
||||
_get_remote_ip()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user