Skip to content

Commit

Permalink
TEMP: Use auth failed message for bans
Browse files Browse the repository at this point in the history
  • Loading branch information
Askaholic committed Dec 27, 2023
1 parent 89c9e60 commit 12a36b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/lobbyconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ async def on_message_received(self, message):
})
except BanError as e:
await self.send({
"command": "notice",
"style": "error",
"command": "authentication_failed",
# "style": "error",
"text": e.message()
})
await self.abort(e.message())
# await self.abort(e.message())
except ClientError as e:
self._logger.warning("Client error: %s", e.message)
await self.send({
Expand Down

0 comments on commit 12a36b1

Please sign in to comment.