componentmanager: Auto-load mod_tls for components #hack
authorMatthew Wild <mwild1@gmail.com>
Thu, 8 Oct 2009 23:22:33 +0000 (00:22 +0100)
committerMatthew Wild <mwild1@gmail.com>
Thu, 8 Oct 2009 23:22:33 +0000 (00:22 +0100)
core/componentmanager.lua

index 30ffd8a8cc984925c0866d01689f86e50f25e334..6f5e28e608abc6dc35d104f8530fb4b59c910815 100644 (file)
@@ -101,6 +101,7 @@ function register_component(host, component, session)
                        disco_items:set(host:sub(host:find(".", 1, true)+1), host, true);
                end
                modulemanager.load(host, "dialback");
+               modulemanager.load(host, "tls");
                log("debug", "component added: "..host);
                return session or hosts[host];
        else