From 75cf799959e81e278561d93e37854b6ba28a66ac Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 17 Dec 2024 14:07:33 -0800 Subject: [PATCH] Update server.py --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index 4795372..de3a1e5 100644 --- a/server.py +++ b/server.py @@ -359,6 +359,8 @@ def session(connection, client): # Parse the quit message. done = [] msg = text.split(" ")[1:] + if msg[0] == ":": + msg=msg[1:] if len(msg) > 0: mse = " ".join(msg) msg = f"Quit: {mse}"