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 c673117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/lobbyconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ 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())
Expand Down

0 comments on commit c673117

Please sign in to comment.