# HG changeset patch # User Matthew Wild # Date 1362914705 0 # Node ID 760c22c822befca84fa4c0963e4e894a5417a289 # Parent 51c9959c21c0489ace7416a6e39d517614a1c585 mod_s2s, mod_dialback: Rename s2s-authenticate-legacy event to s2sout-authenticate-legacy for clarity. Also, hello! diff -r 51c9959c21c0 -r 760c22c822be plugins/mod_dialback.lua --- 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; diff -r 51c9959c21c0 -r 760c22c822be plugins/mod_s2s/mod_s2s.lua --- 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