Mercurial > prosody-hg
comparison plugins/mod_s2s/mod_s2s.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 |
| parents | 1891854b25ac |
| children | 3ae19750cd46 |
comparison
equal
deleted
inserted
replaced
| 7358:d0390bc9c5d1 | 7359:a5a080c12c96 |
|---|---|
| 144 | 144 |
| 145 module:hook("s2s-read-timeout", keepalive, -1); | 145 module:hook("s2s-read-timeout", keepalive, -1); |
| 146 | 146 |
| 147 function module.add_host(module) | 147 function module.add_host(module) |
| 148 if module:get_option_boolean("disallow_s2s", false) then | 148 if module:get_option_boolean("disallow_s2s", false) then |
| 149 module:log("warn", "The 'disallow_s2s' config option is deprecated, please see http://prosody.im/doc/s2s#disabling"); | 149 module:log("warn", "The 'disallow_s2s' config option is deprecated, please see https://prosody.im/doc/s2s#disabling"); |
| 150 return nil, "This host has disallow_s2s set"; | 150 return nil, "This host has disallow_s2s set"; |
| 151 end | 151 end |
| 152 module:hook("route/remote", route_to_existing_session, -1); | 152 module:hook("route/remote", route_to_existing_session, -1); |
| 153 module:hook("route/remote", route_to_new_session, -10); | 153 module:hook("route/remote", route_to_new_session, -10); |
| 154 module:hook("s2s-authenticated", make_authenticated, -1); | 154 module:hook("s2s-authenticated", make_authenticated, -1); |
