Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 10240:a17f47d5e119
mod_s2s: Remove obsolete cleanup code
These were added by s2sout.lib
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 07 Sep 2019 19:00:37 +0200 |
parent | 10226:77f900bbbf25 |
child | 10246:19d7a2e7b9c4 |
comparison
equal
deleted
inserted
replaced
10239:5c8526790a18 | 10240:a17f47d5e119 |
---|---|
226 send(data[1]); | 226 send(data[1]); |
227 sendq[i] = nil; | 227 sendq[i] = nil; |
228 end | 228 end |
229 session.sendq = nil; | 229 session.sendq = nil; |
230 end | 230 end |
231 | |
232 if session.resolver then | |
233 session.resolver._resolver:closeall() | |
234 end | |
235 session.resolver = nil; | |
236 session.ip_hosts = nil; | |
237 session.srv_hosts = nil; | |
238 end | 231 end |
239 end | 232 end |
240 | 233 |
241 function make_authenticated(event) | 234 function make_authenticated(event) |
242 local session, host = event.session, event.host; | 235 local session, host = event.session, event.host; |