Diff

net/xmppclient_listener.lua @ 600:2255a2e84ddc

Automated merge with http://waqas.ath.cx:8000/
author Matthew Wild <mwild1@gmail.com>
date Sun, 07 Dec 2008 19:18:50 +0000
parent 598:2538912d94ba
child 604:b6a31e97d018
line wrap: on
line diff
--- a/net/xmppclient_listener.lua	Mon Dec 08 00:18:01 2008 +0500
+++ b/net/xmppclient_listener.lua	Sun Dec 07 19:18:50 2008 +0000
@@ -126,10 +126,7 @@
 		
 		session_reset_stream(session); -- Initialise, ready for use
 		
-		-- Debug version --
-		--local function handleerr(err) print("Traceback:", err, debug.traceback()); end
-		--session.stanza_dispatch = function (stanza) return select(2, xpcall(function () return core_process_stanza(session, stanza); end, handleerr));  end
-		
+		session.stanza_dispatch = stream_callbacks.handlestanza;
 	end
 	if data then
 		session.data(conn, data);