]> granicus.if.org Git - ejabberd/commitdiff
cache_size not applied to mod_roster on reload_config (#2769)
authorBadlop <badlop@process-one.net>
Tue, 2 Apr 2019 17:52:07 +0000 (19:52 +0200)
committerBadlop <badlop@process-one.net>
Tue, 2 Apr 2019 17:52:07 +0000 (19:52 +0200)
src/mod_roster.erl

index da619c57c155a54e4f7249b57890430cbb300c4a..a0e52ee7dbc4a379932630950305ed8954a619d5 100644 (file)
@@ -137,7 +137,8 @@ reload(Host, NewOpts, OldOpts) ->
            NewMod:init(Host, NewOpts);
        true ->
            ok
-    end.
+    end,
+    init_cache(NewMod, Host, NewOpts).
 
 depends(_Host, _Opts) ->
     [].