mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +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) ->
|
send_registration_notifications(Mod, UJID, Source) ->
|
||||||
Host = UJID#jid.lserver,
|
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;
|
[] -> ok;
|
||||||
JIDs when is_list(JIDs) ->
|
JIDs when is_list(JIDs) ->
|
||||||
Body =
|
Body =
|
||||||
|
Loading…
Reference in New Issue
Block a user