From d76fb9a8fbe27b1a90c47014afd3feeebc082779 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 26 Dec 2023 19:02:26 +0200 Subject: [PATCH] add missed variables --- pymaster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pymaster.py b/pymaster.py index 005a1bb..c9aff84 100755 --- a/pymaster.py +++ b/pymaster.py @@ -145,14 +145,14 @@ class PyMaster: _send_fake_info(self.sock, string, gamedir, addr) - def remove_server_from_list(self, addr): + def remove_server_from_list(self, data, addr): for server in self.serverList: if server.addr == addr: logging.debug("Remove Server: from {0}:{1}".format(addr[0], addr[1])) self.serverList.remove(server) - def send_challenge_to_server(self, addr): + def send_challenge_to_server(self, data, addr): logging.debug("Challenge Request: from {0}:{1}".format(addr[0], addr[1])) # At first, remove old server- data from list # self.removeServerFromList(None, addr)