Diff

plugins/mod_s2s/mod_s2s.lua @ 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
parent 5307:d80e56d8805c
child 5343:e76c22199efa
line wrap: on
line diff
--- 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