mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Fetch 'registration_watchers' option from the correct module
Fixes #2337
This commit is contained in:
parent
b23be02dfe
commit
f5bab5d6c4
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ send_welcome_message(JID) ->
|
|||
|
||||
send_registration_notifications(Mod, UJID, Source) ->
|
||||
Host = UJID#jid.lserver,
|
||||
case gen_mod:get_module_opt(Host, Mod, registration_watchers) of
|
||||
case gen_mod:get_module_opt(Host, ?MODULE, registration_watchers) of
|
||||
[] -> ok;
|
||||
JIDs when is_list(JIDs) ->
|
||||
Body =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue