From 3b0eee785fed475b6747bae6016ad457c6eed855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Thu, 6 Jul 2017 17:18:44 +0200 Subject: [PATCH] Handle new possible result from ejabberd_config.add_option --- src/ejabberd_commands.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ejabberd_commands.erl b/src/ejabberd_commands.erl index d5d0600ac..265907299 100644 --- a/src/ejabberd_commands.erl +++ b/src/ejabberd_commands.erl @@ -355,6 +355,8 @@ expose_commands(Commands) -> Commands), case ejabberd_config:add_option(commands, [{add_commands, Names}]) of + ok -> + ok; {aborted, Reason} -> {error, Reason}; {atomic, Result} ->