plugins/mod_s2s/mod_s2s.lua
changeset 6904 ccc452767ec6
parent 6851 32327c80710b
child 6908 0e81e3dab896
child 7104 f83211f4d776
--- a/plugins/mod_s2s/mod_s2s.lua	Tue Oct 06 18:08:58 2015 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Sun Oct 11 14:03:53 2015 +0200
@@ -349,6 +349,7 @@
 				hosts[to].events.fire_event("s2s-stream-features", { origin = session, features = features });
 			else
 				(session.log or log)("warn", "No 'to' on stream header from %s means we can't offer any features", from or session.ip or "unknown host");
+				fire_global_event("s2s-stream-features-legacy", { origin = session, features = features });
 			end
 
 			if ( session.type == "s2sin" or session.type == "s2sout" ) or features.tags[1] then