Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 5341:760c22c822be
mod_s2s, mod_dialback: Rename s2s-authenticate-legacy event to s2sout-authenticate-legacy for clarity. Also, hello!
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 10 Mar 2013 11:25:05 +0000 |
parent | 5307:d80e56d8805c |
child | 5343:e76c22199efa |
comparison
equal
deleted
inserted
replaced
5340:51c9959c21c0 | 5341:760c22c822be |
---|---|
285 session.send_buffer = nil; | 285 session.send_buffer = nil; |
286 | 286 |
287 -- If server is pre-1.0, don't wait for features, just do dialback | 287 -- If server is pre-1.0, don't wait for features, just do dialback |
288 if session.version < 1.0 then | 288 if session.version < 1.0 then |
289 if not session.dialback_verifying then | 289 if not session.dialback_verifying then |
290 hosts[session.from_host].events.fire_event("s2s-authenticate-legacy", { origin = session }); | 290 hosts[session.from_host].events.fire_event("s2sout-authenticate-legacy", { origin = session }); |
291 else | 291 else |
292 s2s_mark_connected(session); | 292 s2s_mark_connected(session); |
293 end | 293 end |
294 end | 294 end |
295 end | 295 end |