Software /
code /
prosody
Comparison
core/hostmanager.lua @ 5377:898454038524
core.*: Complete removal of all traces of the "core" section and section-related code.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 02:33:15 +0100 |
parent | 5361:38e7a5fafb28 |
child | 5776:bd0ff8ae98a8 |
comparison
equal
deleted
inserted
replaced
5376:ba9be0be4bbb | 5377:898454038524 |
---|---|
72 if not host_config then return nil, "Couldn't find the host "..tostring(host).." defined in the current config"; end | 72 if not host_config then return nil, "Couldn't find the host "..tostring(host).." defined in the current config"; end |
73 local host_session = { | 73 local host_session = { |
74 host = host; | 74 host = host; |
75 s2sout = {}; | 75 s2sout = {}; |
76 events = events_new(); | 76 events = events_new(); |
77 dialback_secret = configmanager.get(host, "core", "dialback_secret") or uuid_gen(); | 77 dialback_secret = configmanager.get(host, "dialback_secret") or uuid_gen(); |
78 send = host_send; | 78 send = host_send; |
79 modules = {}; | 79 modules = {}; |
80 }; | 80 }; |
81 if not host_config.component_module then -- host | 81 if not host_config.component_module then -- host |
82 host_session.type = "local"; | 82 host_session.type = "local"; |