Fix mod_mam reloading

This commit is contained in:
Evgeniy Khramtsov 2017-11-15 11:23:22 +03:00
parent 0c6ef98d01
commit ebb97bec44
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ reload(Host, NewOpts, OldOpts) ->
true ->
ok
end,
ets_cache:setopts(archive_prefs_cache, NewOpts),
ets_cache:setopts(archive_prefs_cache, cache_opts(Host, NewOpts)),
case gen_mod:is_equal_opt(iqdisc, NewOpts, OldOpts, gen_iq_handler:iqdisc(Host)) of
{false, IQDisc, _} ->
register_iq_handlers(Host, IQDisc);