diff options
| author | olive <olive@olive.ooo> | 2026-09-12 18:22:22 +0100 |
|---|---|---|
| committer | olive <olive@olive.ooo> | 2026-09-12 18:22:22 +0100 |
| commit | fa9da79c39f62439ece735ed0e7dfe4c4c9692b2 (patch) | |
| tree | f62ef38df78d92a295f61e21beff6d53814fe2b4 | |
| parent | 3687e97db6c035d0cc7065f5d22d801e6553bb2a (diff) | |
add add_channel
| -rw-r--r-- | main.lua | 5 | ||||
| -rw-r--r-- | nanochat_send/pylon.lua | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -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") |
