projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cb7694
)
core.componentmanager: Fix global access
author
Matthew Wild
<mwild1@gmail.com>
Wed, 22 Apr 2009 19:52:27 +0000
(20:52 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 22 Apr 2009 19:52:27 +0000
(20:52 +0100)
core/componentmanager.lua
patch
|
blob
|
history
diff --git
a/core/componentmanager.lua
b/core/componentmanager.lua
index 96b78bf25e60d0c04e840f978942501262adef38..77d11f99a09229240c3f478a080fc28e84cb575b 100644
(file)
--- a/
core/componentmanager.lua
+++ b/
core/componentmanager.lua
@@
-80,8
+80,7
@@
end
function create_component(host, component)
-- TODO check for host well-formedness
- local session = session or { type = "component", host = host, connected = true, s2sout = {} };
- return session;
+ return { type = "component", host = host, connected = true, s2sout = {} };
end
function register_component(host, component, session)