Update server.py

This commit is contained in:
Nova Cat 2024-12-09 12:04:47 -08:00
parent 3d840515a3
commit 74e63f9e9c

View file

@ -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]: