mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fetch 'registration_watchers' option from the correct module
Fixes #2337
This commit is contained in:
parent
b23be02dfe
commit
f5bab5d6c4
@ -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…
Reference in New Issue
Block a user