Software /
code /
prosody
Changeset
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 |
parents | 5340:51c9959c21c0 |
children | 5342:4c8c8285bf88 5343:e76c22199efa |
files | plugins/mod_dialback.lua plugins/mod_s2s/mod_s2s.lua |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_dialback.lua Tue Mar 05 10:04:31 2013 +0100 +++ b/plugins/mod_dialback.lua Sun Mar 10 11:25:05 2013 +0000 @@ -170,7 +170,7 @@ end end, 100); -module:hook("s2s-authenticate-legacy", function (event) +module:hook("s2sout-authenticate-legacy", function (event) module:log("debug", "Initiating dialback..."); initiate_dialback(event.origin); return true;
--- a/plugins/mod_s2s/mod_s2s.lua Tue Mar 05 10:04:31 2013 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Sun Mar 10 11:25:05 2013 +0000 @@ -287,7 +287,7 @@ -- If server is pre-1.0, don't wait for features, just do dialback if session.version < 1.0 then if not session.dialback_verifying then - hosts[session.from_host].events.fire_event("s2s-authenticate-legacy", { origin = session }); + hosts[session.from_host].events.fire_event("s2sout-authenticate-legacy", { origin = session }); else s2s_mark_connected(session); end