Commits

Thijs Alkemade committed c4ae399

Fix exception on bounce_sendq.

Comments (0)

Files changed (1)

 		local filter = initialize_filters(session);
 
 		session.sends2s = function (t)
-			log("debug", "sending (socks5): %s", (t.top_tag and t:top_tag()) or t:match("^[^>]*>?"));
+			log("debug", "sending (s2s over socks5): %s", (t.top_tag and t:top_tag()) or t:match("^[^>]*>?"));
 			if t.name then
 				t = filter("stanzas/out", t);
 			end
 			end
 		end
 
-		session.openstream = function ()
+		session.bounce_sendq = function ()
+			log("debug", "Should bounce our send queue... do we even have one?");
+		end
+
+		session.open_stream = function ()
 			session.sends2s(st.stanza("stream:stream", {
 				xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback',
 				["xmlns:stream"]='http://etherx.jabber.org/streams',