Software /
code /
prosody
Diff
plugins/mod_component.lua @ 4757:5fb68e68ba0b
mod_component: Remove unused variable
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 03:13:59 +0100 |
parent | 4734:4d43dbd6de17 |
child | 4803:39ba097ec641 |
line wrap: on
line diff
--- a/plugins/mod_component.lua Sat Apr 28 03:11:45 2012 +0100 +++ b/plugins/mod_component.lua Sat Apr 28 03:13:59 2012 +0100 @@ -207,7 +207,6 @@ 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'?>");