Update server.py
All checks were successful
Check syntax / check (push) Successful in 5s
All checks were successful
Check syntax / check (push) Successful in 5s
This commit is contained in:
parent
6d8486639b
commit
e40a59cc56
1 changed files with 2 additions and 2 deletions
|
@ -381,8 +381,8 @@ def session(connection, client):
|
|||
msg = "Client Quit"
|
||||
else:
|
||||
msg = text.split(" ")[1:]
|
||||
if msg[0] == ":":
|
||||
msg=msg[1:]
|
||||
if msg[0][0] == ":":
|
||||
msg[0]=msg[0][1:]
|
||||
if len(msg) > 0:
|
||||
mse = " ".join(msg)
|
||||
msg = f"Quit: {mse}"
|
||||
|
|
Loading…
Reference in a new issue