fix(pterodactyl): fixed server messages sometimes not logging
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 20s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 23s

This commit is contained in:
SeaswimmerTheFsh 2024-03-01 22:24:02 -05:00
parent 6a02381e89
commit e9523d5f70
Signed by: cswimr
GPG key ID: B8953EC01E5C4063
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ async def check_if_server_message(text: str) -> Union[bool, str]:
match: Optional[re.Match[str]] = re.match(regex, text)
if match:
logger.debug("Message is a server message")
return match.group(1)
return match.group(2)
logger.debug("Message is not a server message")
return False