aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_invites_register.lua2
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