24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

mod_push: Support cache config changes on reload

This commit is contained in:
Holger Weiss 2020-11-04 09:04:30 +01:00
parent ec61c2f3dc
commit 37c75f556d

View File

@ -119,7 +119,9 @@ reload(Host, NewOpts, OldOpts) ->
NewMod:init(Host, NewOpts);
true ->
ok
end.
end,
init_cache(NewMod, Host, NewOpts),
ok.
-spec depends(binary(), gen_mod:opts()) -> [{module(), hard | soft}].
depends(_Host, _Opts) ->