From 9efee4531261898c5c1666d010a22eab4f3ea457 Mon Sep 17 00:00:00 2001 From: rebecca Date: Fri, 25 Sep 2026 16:33:35 +0100 Subject: deduplicate add_channel loops --- quaddle/pylon.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'quaddle') diff --git a/quaddle/pylon.lua b/quaddle/pylon.lua index 4387342..86e465a 100644 --- a/quaddle/pylon.lua +++ b/quaddle/pylon.lua @@ -41,14 +41,6 @@ function Quaddle._connect(self) self.ws = websocket.new_from_uri(self.base_url:gsub("^http","ws").."app") assert(self.ws:connect()) self.ws:send(json.encode{ op="identify", token=self.token }, 'text') - - for busname, bus in pairs(self.wilson.busses) do - for _, channel in ipairs(bus) do - if channel.pylon == self then - self:add_channel(channel) - end - end - end end function Quaddle.add_channel(self, channel) -- cgit v1.2.3