fix(pterodactyl): don't log console messages while server is offline (why even?)
This commit is contained in:
parent
58e88f2dd6
commit
e2389cec08
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue