Software /
code /
prosody
Comparison
plugins/s2s/mod_s2s.lua @ 4587:93a84314c296
mod_dialback, mod_s2s: Log initiation of dialback in mod_dialback
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 03 Mar 2012 16:45:34 +0100 |
parent | 4586:4d63852910ff |
child | 4589:8553d822f417 |
child | 4590:883611842d3a |
comparison
equal
deleted
inserted
replaced
4586:4d63852910ff | 4587:93a84314c296 |
---|---|
230 session.send_buffer = nil; | 230 session.send_buffer = nil; |
231 | 231 |
232 -- If server is pre-1.0, don't wait for features, just do dialback | 232 -- If server is pre-1.0, don't wait for features, just do dialback |
233 if session.version < 1.0 then | 233 if session.version < 1.0 then |
234 if not session.dialback_verifying then | 234 if not session.dialback_verifying then |
235 log("debug", "Initiating dialback..."); | |
236 hosts[session.from_host].events.fire_event("s2s-authenticate-legacy", { origin = session }); | 235 hosts[session.from_host].events.fire_event("s2s-authenticate-legacy", { origin = session }); |
237 else | 236 else |
238 s2s_mark_connected(session); | 237 s2s_mark_connected(session); |
239 end | 238 end |
240 end | 239 end |