diff options
| author | rebecca <ubq323@ubq323.website> | 2026-09-25 16:41:52 +0100 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-09-25 16:49:36 +0100 |
| commit | 28a876fa341174e8d17640fc215854328ce65b42 (patch) | |
| tree | 64be5771e6dd48e0d45a3cdc65bcda1f62369277 /main.lua | |
| parent | 89c71b2939ce610b4251d0d9f22b9e0d2217a106 (diff) | |
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
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
