summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
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