From 85d5316f43f86cb247c4dc1a55dd3495c2c3f806 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 4 Mar 2024 23:13:37 -0500 Subject: [PATCH] fix(pterodactyl): forgot two! --- pterodactyl/websocket.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pterodactyl/websocket.py b/pterodactyl/websocket.py index c174ae6..5d1aeab 100644 --- a/pterodactyl/websocket.py +++ b/pterodactyl/websocket.py @@ -156,13 +156,11 @@ def remove_ansi_escape_codes(text: str) -> str: return ansi_escape.sub('', text) async def check_if_server_message(text: str) -> Union[bool, str]: - logger.debug("Checking if message is a server message") regex = await config.server_regex() match: Optional[re.Match[str]] = re.match(regex, text) if match: logger.debug("Message is a server message") return match.group(1) - logger.debug("Message is not a server message") return False async def check_if_chat_message(text: str) -> Union[bool, dict]: