diff options
| author | rebecca <ubq323@ubq323.website> | 2026-09-25 16:33:35 +0100 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-09-25 16:35:27 +0100 |
| commit | 9efee4531261898c5c1666d010a22eab4f3ea457 (patch) | |
| tree | ef164bfdda3086f8e22a150e465871a2bac9fb4b /xmpp | |
| parent | 00060d7965d42386e15dca6361683b72e430808c (diff) | |
deduplicate add_channel loops
Diffstat (limited to 'xmpp')
| -rw-r--r-- | xmpp/pylon.lua | 8 |
1 files changed, 0 insertions, 8 deletions
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('<handshake/>',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 |
