Software /
code /
prosody
Changeset
945:699f0c46526a
core.componentmanager: Fix global set, causing problems with multiple components. Fixes #82.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 31 Mar 2009 03:48:51 +0100 |
parents | 944:2335ece4942d |
children | 946:cf4d9e2d33d1 |
files | core/componentmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/componentmanager.lua Tue Mar 31 03:00:40 2009 +0100 +++ b/core/componentmanager.lua Tue Mar 31 03:48:51 2009 +0100 @@ -68,7 +68,7 @@ function create_component(host, component) -- TODO check for host well-formedness - session = session or { type = "component", host = host, connected = true, s2sout = {}, send = component }; + local session = session or { type = "component", host = host, connected = true, s2sout = {}, send = component }; return session; end