core.componentmanager: Fix global set, causing problems with multiple components. Fixes #82.

This commit is contained in:
Matthew Wild 2009-03-31 03:48:51 +01:00
parent e9774621da
commit e619e613a3

View file

@ -68,7 +68,7 @@ end
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