summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proxy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy.py b/proxy.py
index 889019b..9073cf0 100644
--- a/proxy.py
+++ b/proxy.py
@@ -344,8 +344,8 @@ async def handle_client(client_reader, client_writer):
except Exception as e:
warning(f"Error sending disconnect message: {e}")
- if DISCORD_ENABLED:
- await discord_send_message(CHANNEL_ID, f"{player.username} has left the server!")
+ if DISCORD_ENABLED:
+ await discord_send_message(CHANNEL_ID, f"{player.username} has left the server!")
# Always close connections, regardless of previous state
try: