Mercurial > prosody-modules
comparison mod_register_redirect/mod_register_redirect.lua @ 2785:2023cba9ead0
mod_register_redirect: Update doc
| author | t2d <td@tem.li> |
|---|---|
| date | Fri, 06 Oct 2017 20:21:45 +0200 |
| parents | ba999840f318 |
| children |
comparison
equal
deleted
inserted
replaced
| 2784:ba999840f318 | 2785:2023cba9ead0 |
|---|---|
| 52 if admins_g then | 52 if admins_g then |
| 53 local ajid; for _,v in ipairs(admins_g) do ajid = v ; break end | 53 local ajid; for _,v in ipairs(admins_g) do ajid = v ; break end |
| 54 inst_text = "Please contact "..module:get_host().."'s server administrator via xmpp to register an account on this server at: "..ajid | 54 inst_text = "Please contact "..module:get_host().."'s server administrator via xmpp to register an account on this server at: "..ajid |
| 55 else | 55 else |
| 56 module:log("error", "Please be sure to, _at the very least_, configure one server administrator either global or hostwise...") | 56 module:log("error", "Please be sure to, _at the very least_, configure one server administrator either global or hostwise...") |
| 57 module:log("error", "if you want to use this module, or read it's configuration wiki at: http://code.google.com/p/prosody-modules/wiki/mod_register_redirect") | 57 module:log("error", "if you want to use this module, or read it's configuration wiki at: https://modules.prosody.im/mod_register_redirect.html") |
| 58 return origin.send(st.error_reply(stanza, "wait", "internal-server-error")) -- bouncing request. | 58 return origin.send(st.error_reply(stanza, "wait", "internal-server-error")) -- bouncing request. |
| 59 end | 59 end |
| 60 end | 60 end |
| 61 end | 61 end |
| 62 elseif inst_text and url and oob then | 62 elseif inst_text and url and oob then |
