Software /
code /
prosody
Changeset
4586:4d63852910ff
mod_s2s, mod_dialback: Rename event to s2s-authenticate-legacy
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 03 Mar 2012 13:28:33 +0100 |
parents | 4584:9a5de6509aa8 |
children | 4587:93a84314c296 |
files | plugins/mod_dialback.lua plugins/s2s/mod_s2s.lua |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_dialback.lua Sat Mar 03 01:35:39 2012 +0100 +++ b/plugins/mod_dialback.lua Sat Mar 03 13:28:33 2012 +0100 @@ -160,7 +160,7 @@ end end, 100); -module:hook("s2s-no-stream-features", function (event) +module:hook("s2s-authenticate-legacy", function (event) initiate_dialback(event.origin); return true; end, 100);
--- a/plugins/s2s/mod_s2s.lua Sat Mar 03 01:35:39 2012 +0100 +++ b/plugins/s2s/mod_s2s.lua Sat Mar 03 13:28:33 2012 +0100 @@ -233,7 +233,7 @@ if session.version < 1.0 then if not session.dialback_verifying then log("debug", "Initiating dialback..."); - hosts[session.from_host].events.fire_event("s2s-no-stream-features", { origin = session }); + hosts[session.from_host].events.fire_event("s2s-authenticate-legacy", { origin = session }); else s2s_mark_connected(session); end