Comparison

core/certmanager.lua @ 2733:65ad0fdb17ba

certmanager: Fix global access
author Matthew Wild <mwild1@gmail.com>
date Mon, 01 Mar 2010 18:52:47 +0000
parent 2631:77f135c7689a
child 2738:e253dd4714d5
comparison
equal deleted inserted replaced
2732:dabdc56561f9 2733:65ad0fdb17ba
52 end 52 end
53 return nil; 53 return nil;
54 end 54 end
55 55
56 function reload_ssl_config() 56 function reload_ssl_config()
57 default_ssl_config = config.get("*", "core", "ssl"); 57 default_ssl_config = configmanager.get("*", "core", "ssl");
58 end 58 end
59 59
60 prosody.events.add_handler("config-reloaded", reload_ssl_config); 60 prosody.events.add_handler("config-reloaded", reload_ssl_config);
61 61
62 return _M; 62 return _M;