25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Handle new possible result from ejabberd_config.add_option

This commit is contained in:
Paweł Chmielowski 2017-07-06 17:18:44 +02:00
parent 5ef542a638
commit 3b0eee785f

View File

@ -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} ->