From 28a876fa341174e8d17640fc215854328ce65b42 Mon Sep 17 00:00:00 2001 From: rebecca Date: Fri, 25 Sep 2026 16:41:52 +0100 Subject: consistentize 'channels' maps in pylons for live reloading to work, wilson needs to know which channels each pylon currently cares about, so it knows which combination of add_channel and remove_channel to call on each one discord: rename channel_to_webhook --> channels xmpp: rename mucs --> channels quaddle: add channels map --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.lua') diff --git a/main.lua b/main.lua index bf9a0b6..c06651f 100644 --- a/main.lua +++ b/main.lua @@ -47,7 +47,7 @@ function Wilson.make(cls, conf) end function Wilson.add_channels_for(self, pylon) - if not pylon.add_channel then return end + if not pylon.channels then return end for busname, bus in pairs(self.busses) do for _, channel in ipairs(bus) do if channel.pylon == pylon then -- cgit v1.2.3