From f5d9bd8003cb07ae3ad72188f8700951730b2c48 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Sun, 19 Feb 2023 00:01:39 -0500 Subject: [PATCH] fix copypasta code --- core/allnet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/allnet.py b/core/allnet.py index b32b7f7..9aea93e 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -158,8 +158,8 @@ class AllnetServlet: req = AllnetDownloadOrderRequest(self.allnet_req_to_dict(request.content.getvalue())[0]) # Validate the request. Currently we only validate the fields we plan on using - if not req.game_id or not req.ver or not req.token or not req.serial or not req.ip: - raise AllnetRequestException(f"Bad auth request params from {request_ip} - {vars(req)}") + if not req.game_id or not req.ver or not req.serial: + raise AllnetRequestException(f"Bad download request params from {request_ip} - {vars(req)}") except AllnetRequestException as e: self.logger.error(e)