plugins/mod_component.lua

changeset 914
50850f15340c
parent 910
27d909db4714
child 959
e3db909065f2
--- a/plugins/mod_component.lua	Sun Mar 22 15:33:38 2009 +0000
+++ b/plugins/mod_component.lua	Sun Mar 22 17:54:29 2009 +0000
@@ -122,14 +122,6 @@
 
 module:add_handler("component", "handshake", xmlns_component, handle_component_auth);
 
---[[
--- Helper function to deal with errors processing component stanzas
-local function handleerr(err) log("error", "Traceback[component]: %s: %s", tostring(err), debug.traceback()); end
-function stream_callbacks.handlestanza(a, b)
-	xpcall(function () core_process_stanza(a, b) end, handleerr);
-end
-]]
-
 --- Closing a component connection
 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
 local function session_close(session, reason)

mercurial