aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 03:13:59 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 03:13:59 +0100
commit844026b0eaa192cc595a5f4a909259b158fc898e (patch)
treed0e7d0b253c07000f5fcd082cadfa18c32acef62 /plugins/mod_component.lua
parent5d28dc3276c0da0803adff0252db00440ac44a5b (diff)
downloadprosody-844026b0eaa192cc595a5f4a909259b158fc898e.tar.gz
prosody-844026b0eaa192cc595a5f4a909259b158fc898e.zip
mod_component: Remove unused variable
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 98eaa6de..6be68e39 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -207,7 +207,6 @@ local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
local default_stream_attr = { ["xmlns:stream"] = "http://etherx.jabber.org/streams", xmlns = stream_callbacks.default_ns, version = "1.0", id = "" };
local function session_close(session, reason)
if session.destroyed then return; end
- local log = session.log or log;
if session.conn then
if session.notopen then
session.send("<?xml version='1.0'?>");