Software /
code /
prosody
Changeset
12284:b4424f131d5c
mod_invites_register: Replace COMPAT hack
This hack is not needed since a9c975a0f113 so can be removed when
included with Prosody.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 10 Feb 2022 20:44:45 +0100 |
parents | 12283:b5686debb497 |
children | 12285:ed23bbf3b946 |
files | plugins/mod_invites_register.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_invites_register.lua Thu Feb 10 15:41:47 2022 +0100 +++ b/plugins/mod_invites_register.lua Thu Feb 10 20:44:45 2022 +0100 @@ -8,7 +8,7 @@ local invite_only = module:get_option_boolean("registration_invite_only", true); local invites; -if prosody.shutdown then -- COMPAT hack to detect prosodyctl +if prosody.process_type == "prosody" then invites = module:depends("invites"); end