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 --- xmpp/pylon.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xmpp') diff --git a/xmpp/pylon.lua b/xmpp/pylon.lua index 9f5ccfe..d00c41b 100644 --- a/xmpp/pylon.lua +++ b/xmpp/pylon.lua @@ -39,14 +39,6 @@ function Xmpp._connect(self) sock:write(xmlify(X.handshake{sha1.sha1(streamid..self.component_secret)})) check_and_send('',nil) - 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 - return sock end -- cgit v1.2.3