# HG changeset patch # User Kim Alvefur # Date 1330777713 -3600 # Node ID 4d63852910ffa699ee1077bf309f2b5124df5295 # Parent 9a5de6509aa8349611c08cf38845794f64fc046e mod_s2s, mod_dialback: Rename event to s2s-authenticate-legacy diff -r 9a5de6509aa8 -r 4d63852910ff plugins/mod_dialback.lua --- 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); diff -r 9a5de6509aa8 -r 4d63852910ff plugins/s2s/mod_s2s.lua --- 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