Software /
code /
prosody
Comparison
plugins/mod_component.lua @ 7359:a5a080c12c96
Update every link to the documentation to use HTTPS
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 16 Apr 2016 21:08:05 +0100 |
parent | 7301:995777582044 |
child | 7666:03aa330562ed |
comparison
equal
deleted
inserted
replaced
7358:d0390bc9c5d1 | 7359:a5a080c12c96 |
---|---|
29 | 29 |
30 local sessions = module:shared("sessions"); | 30 local sessions = module:shared("sessions"); |
31 | 31 |
32 function module.add_host(module) | 32 function module.add_host(module) |
33 if module:get_host_type() ~= "component" then | 33 if module:get_host_type() ~= "component" then |
34 error("Don't load mod_component manually, it should be for a component, please see http://prosody.im/doc/components", 0); | 34 error("Don't load mod_component manually, it should be for a component, please see https://prosody.im/doc/components", 0); |
35 end | 35 end |
36 | 36 |
37 local env = module.environment; | 37 local env = module.environment; |
38 env.connected = false; | 38 env.connected = false; |
39 env.session = false; | 39 env.session = false; |