From: Badlop Date: Tue, 2 Apr 2019 17:52:07 +0000 (+0200) Subject: cache_size not applied to mod_roster on reload_config (#2769) X-Git-Tag: 19.05~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbac8a604af9a459e40273e1ec98007878066a9a;p=ejabberd cache_size not applied to mod_roster on reload_config (#2769) --- diff --git a/src/mod_roster.erl b/src/mod_roster.erl index da619c57c..a0e52ee7d 100644 --- a/src/mod_roster.erl +++ b/src/mod_roster.erl @@ -137,7 +137,8 @@ reload(Host, NewOpts, OldOpts) -> NewMod:init(Host, NewOpts); true -> ok - end. + end, + init_cache(NewMod, Host, NewOpts). depends(_Host, _Opts) -> [].