mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_invites_register: Replace COMPAT hack
This hack is not needed since a9c975a0f113 so can be removed when included with Prosody.
This commit is contained in:
parent
5ed39f2a09
commit
acc0b64d3e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue