Comparison

core/componentmanager.lua @ 3540:bc139431830b

Monster whitespace commit (beware the whitespace monster).
author Waqas Hussain <waqas20@gmail.com>
date Sat, 16 Oct 2010 23:00:42 +0500
parent 3469:011566d72331
child 3547:3242e70f1058
comparison
equal deleted inserted replaced
3539:8bbd965267b2 3540:bc139431830b
90 -- Use global/default cert if there is one 90 -- Use global/default cert if there is one
91 ssl_ctx = certmanager.create_context(host, "client"); 91 ssl_ctx = certmanager.create_context(host, "client");
92 ssl_ctx_in = certmanager.create_context(host, "server"); 92 ssl_ctx_in = certmanager.create_context(host, "server");
93 end 93 end
94 end 94 end
95 return { type = "component", host = host, connected = true, s2sout = {}, 95 return { type = "component", host = host, connected = true, s2sout = {},
96 ssl_ctx = ssl_ctx, ssl_ctx_in = ssl_ctx_in, events = events or events_new(), 96 ssl_ctx = ssl_ctx, ssl_ctx_in = ssl_ctx_in, events = events or events_new(),
97 dialback_secret = configmanager.get(host, "core", "dialback_secret") or uuid_gen(), 97 dialback_secret = configmanager.get(host, "core", "dialback_secret") or uuid_gen(),
98 disallow_s2s = configmanager.get(host, "core", "disallow_s2s"); }; 98 disallow_s2s = configmanager.get(host, "core", "disallow_s2s"); };
99 end 99 end
100 100