diff options
author | Kim Alvefur <zash@zash.se> | 2022-02-10 20:44:45 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-02-10 20:44:45 +0100 |
commit | acc0b64d3e87bc09de41f3ef20146d3447361041 (patch) | |
tree | 7912057ca54befa17efd18cd4bc3deeff8518b54 | |
parent | 5ed39f2a0971982ee87f236d057f400481aa04b4 (diff) | |
download | prosody-acc0b64d3e87bc09de41f3ef20146d3447361041.tar.gz prosody-acc0b64d3e87bc09de41f3ef20146d3447361041.zip |
mod_invites_register: Replace COMPAT hack
This hack is not needed since a9c975a0f113 so can be removed when
included with Prosody.
-rw-r--r-- | plugins/mod_invites_register.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_invites_register.lua b/plugins/mod_invites_register.lua index 07c7aa78..fa12a030 100644 --- a/plugins/mod_invites_register.lua +++ b/plugins/mod_invites_register.lua @@ -8,7 +8,7 @@ local require_encryption = module:get_option_boolean("c2s_require_encryption", 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 |