diff --git a/pterodactyl/websocket.py b/pterodactyl/websocket.py index 340a451..48f8799 100644 --- a/pterodactyl/websocket.py +++ b/pterodactyl/websocket.py @@ -49,7 +49,7 @@ async def establish_websocket_connection(coginstance: Pterodactyl) -> None: regex_blacklist: dict = await config.regex_blacklist() matches = [re.search(regex, msg) for regex in regex_blacklist.values()] - if await config.current_status() in ('running', 'offline', '') and not any(matches): + if await config.current_status() in ('running', '') and not any(matches): content = remove_ansi_escape_codes(msg) if await config.mask_ip() is True: content = mask_ip(content)