Diff

plugins/mod_s2s/mod_s2s.lua @ 6403:166d1bd8fc38

core.stanza_router, mod_s2s: Move handling of S2S features to mod_s2s from stanza_router
author Kim Alvefur <zash@zash.se>
date Tue, 09 Sep 2014 15:05:46 +0200
parent 6382:57d23c26039b
child 6426:e5945fb5b71f
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Tue Sep 09 14:42:33 2014 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Tue Sep 09 15:05:46 2014 +0200
@@ -153,6 +153,7 @@
 			-- Stream is authenticated and we are seem to be done with feature negotiation,
 			-- so the stream is ready for stanzas.  RFC 6120 Section 4.3
 			mark_connected(session);
+			return true;
 		end
 	end, -1);
 end