Diff

plugins/s2s/mod_s2s.lua @ 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
parent 4584:9a5de6509aa8
child 4587:93a84314c296
line wrap: on
line diff
--- 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