allnet: add info log to downloadorder

This commit is contained in:
Hay1tsme 2023-03-17 02:06:15 -04:00
parent 8c5c7f31b6
commit 4bd1dea6bf

View File

@ -181,7 +181,9 @@ class AllnetServlet:
self.logger.error(e)
return b""
self.logger.info(f"DownloadOrder from {request_ip} -> {req.game_id} v{req.ver} serial {req.serial}")
resp = AllnetDownloadOrderResponse()
if not self.config.allnet.allow_online_updates:
return self.dict_to_http_form_string([vars(resp)])