mod_s2s, mod_dialback: Rename event to s2s-authenticate-legacy

This commit is contained in:
Kim Alvefur 2012-03-03 13:28:33 +01:00
parent 9af8ea363b
commit d0424f6f4e
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ module:hook_stanza(xmlns_stream, "features", function (origin, stanza)
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);

View file

@ -233,7 +233,7 @@ function stream_callbacks.streamopened(session, attr)
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