aboutsummaryrefslogtreecommitdiffstats
path: root/core/componentmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/componentmanager.lua')
-rw-r--r--core/componentmanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index 5efb1f51..1da8cd6f 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -73,9 +73,9 @@ function handle_stanza(origin, stanza)
end
function create_component(host, component)
- -- TODO check for host well-formedness
- local session = session or { type = "component", host = host, connected = true, s2sout = {}, send = component };
- return session;
+ -- TODO check for host well-formedness
+ local session = session or { type = "component", host = host, connected = true, s2sout = {}, send = component };
+ return session;
end
function register_component(host, component, session)