Update server.py
This commit is contained in:
parent
3d840515a3
commit
74e63f9e9c
1 changed files with 27 additions and 25 deletions
|
@ -82,7 +82,9 @@ def session(connection, client):
|
|||
connection.sendall(bytes(f"PONG {e}\r\n","UTF-8"))
|
||||
elif (ready and already_set) and finished:
|
||||
if command == "JOIN":
|
||||
channel = text.split(" ")[1]
|
||||
channels = text.split(" ")[1]
|
||||
for channelt in channels.split(","):
|
||||
channel = channelt.strip()
|
||||
success = True
|
||||
if channel in channels_list:
|
||||
if pending in channels_list[channel]:
|
||||
|
|
Loading…
Reference in a new issue