aboutsummaryrefslogtreecommitdiff
path: root/src/eldap_utils.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/eldap_utils.erl')
-rw-r--r--src/eldap_utils.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eldap_utils.erl b/src/eldap_utils.erl
index 6209802a8..a18a04ed6 100644
--- a/src/eldap_utils.erl
+++ b/src/eldap_utils.erl
@@ -182,7 +182,7 @@ get_opt({Key, Host}, Opts, F) ->
get_opt({Key, Host}, Opts, F, Default) ->
case gen_mod:get_opt(Key, Opts, F, undefined) of
undefined ->
- ejabberd_config:get_local_option(
+ ejabberd_config:get_option(
{Key, Host}, F, Default);
Val ->
Val