mod_component: Remove some commented code

Sun, 22 Mar 2009 17:54:29 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 22 Mar 2009 17:54:29 +0000
changeset 914
50850f15340c
parent 913
3e2dac84017d
child 915
0fe5bf7ab81d

mod_component: Remove some commented code

plugins/mod_component.lua file | annotate | diff | comparison | revisions
--- 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