fix(pterodactyl): match the correct group in check_if_server_message
This commit is contained in:
parent
4c234502f7
commit
7e4d4b348a
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,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(2)
|
||||
return match.group(1)
|
||||
logger.debug("Message is not a server message")
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue