summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.lua5
-rw-r--r--nanochat_send/pylon.lua4
2 files changed, 9 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index c62275d..3f93cd9 100644
--- a/main.lua
+++ b/main.lua
@@ -59,6 +59,11 @@ function Wilson.run(self)
self.cq:wrap(pylon.run, pylon)
print("now running pylon", pylonname)
end
+ for busname, bus in pairs(self.busses) do
+ for _, channel in ipairs(bus) do
+ channel.pylon:add_channel(channel)
+ end
+ end
print('toplevel',self.cq:loop())
end
diff --git a/nanochat_send/pylon.lua b/nanochat_send/pylon.lua
index 5263e1b..0e57763 100644
--- a/nanochat_send/pylon.lua
+++ b/nanochat_send/pylon.lua
@@ -22,6 +22,10 @@ function NanochatSend:_connect()
end
end
+function NanochatSend:add_channel(channel)
+ -- don't need to do anything
+end
+
function NanochatSend:recving()
while true do
self.sock:write("SKIP "..self.lastid.."\n")