aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-03-22 17:54:29 +0000
committerMatthew Wild <mwild1@gmail.com>2009-03-22 17:54:29 +0000
commit7a764ade59a607930f9761e0d6be618b382097ce (patch)
tree5272d65392252566cd8ced0e14b0c4e1d890b1af
parentf12ca3499f562964282d02084b07854a93d59c51 (diff)
downloadprosody-7a764ade59a607930f9761e0d6be618b382097ce.tar.gz
prosody-7a764ade59a607930f9761e0d6be618b382097ce.zip
mod_component: Remove some commented code
-rw-r--r--plugins/mod_component.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 90a2f3b1..5b59ca70 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -122,14 +122,6 @@ end
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)