]> granicus.if.org Git - ejabberd/commitdiff
Fix reload_config
authorChristophe Romain <christophe.romain@process-one.net>
Fri, 2 Dec 2016 15:29:46 +0000 (16:29 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Fri, 2 Dec 2016 15:29:46 +0000 (16:29 +0100)
src/ejabberd_admin.erl

index 765d23810a9219f871f6aecd623bf6a2365e9ee8..9592c2702ec8fea8a300307852021235147e1fda 100644 (file)
@@ -402,8 +402,8 @@ registered_vhosts() ->
 
 reload_config() ->
     ejabberd_config:reload_file(),
-    acl:start(),
-    shaper:start(),
+    acl:load_from_config(),
+    shaper:load_from_config(),
     ejabberd_access_permissions:invalidate().
 
 %%%