fix
This commit is contained in:
parent
eafc3a1c8d
commit
2ab0847175
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ def session(connection, client):
|
|||
msg = "Client Quit"
|
||||
text = f"QUIT :{msg}"
|
||||
# Confirm QUIT and close the socket.
|
||||
connection.sendall(bytes(f":{pending}!~{username}@{client[0]} {text}\r\nERROR :Closing Link: {client[0]} ({msg})\r\n","UTF-8"))
|
||||
connection.sendall(bytes(f":{pending}!~{username}@{client[0]} {text}\r\n","UTF-8"))
|
||||
connection.sendall(bytes(f"ERROR :Closing Link: {client[0]} ({msg})\r\n","UTF-8"))
|
||||
connection.close()
|
||||
# Broadcast all users in the joined channels that the person quit.
|
||||
for i, users in channels_list.items():
|
||||
|
|
Loading…
Reference in a new issue