From 3746cb9b217e1419509d65f365dfdf05cf92953d Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 21 Jan 2025 23:25:22 -0800 Subject: [PATCH] Typo --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 003c851..6e18d56 100644 --- a/server.py +++ b/server.py @@ -299,8 +299,8 @@ def session(connection, client, ip, ssl=False): pass elif command == "JOIN": channels = text.split(" ")[1] - if channels[0][0] == ":": - channels[0] = channels[0][1:] + if channels[0] == ":": + channels = channels[1:] for channelt in channels.split(","): channel = channelt.strip() if channel.lower() in lower_chans: