From 92b37fc941a308ade43d5e9fee3e16398f765906 Mon Sep 17 00:00:00 2001
From: swee <meow@swee.codes>
Date: Fri, 14 Feb 2025 23:32:08 -0800
Subject: [PATCH] Update server.py

---
 server.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server.py b/server.py
index 7908f98..f8234d5 100644
--- a/server.py
+++ b/server.py
@@ -486,6 +486,7 @@ def session(connection, client, ip, isssl=False):
                                         print(cmdrun["initchan"])
                                         channels_list[cmdrun["initchan"]["name"]] = []
                                         topic_list[cmdrun["initchan"]["name"]] = cmdrun["initchan"]["topic"]
+                                        lower_chans[cmdrun["initchan"]["name"].lower()] = cmdrun["initchan"]["name"]
                                         channel_modestore_identify[cmdrun["initchan"]["name"]] = cmdrun["initchan"]["automodes"]
                                         channel_modestore[cmdrun["initchan"]["name"]] = {}
                                 if processedExternally: