From 009a5007ff5165f2b9a0877285f8ad7ce4125aff Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Thu, 16 Feb 2017 20:47:47 +0300 Subject: [PATCH] Use ejabberd_config:add_option/2 instead of ejabberd_config:add_local_option/2 Signed-off-by: Peter Lemenkov --- src/ejabberd_commands.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_commands.erl b/src/ejabberd_commands.erl index 9491288f9..9bfa94dd6 100644 --- a/src/ejabberd_commands.erl +++ b/src/ejabberd_commands.erl @@ -332,7 +332,7 @@ expose_commands(Commands) -> end, Commands), - case ejabberd_config:add_local_option(commands, [{add_commands, Names}]) of + case ejabberd_config:add_option(commands, [{add_commands, Names}]) of {aborted, Reason} -> {error, Reason}; {atomic, Result} -> -- 2.40.0