mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Handle new possible result from ejabberd_config.add_option
This commit is contained in:
parent
5ef542a638
commit
3b0eee785f
@ -355,6 +355,8 @@ expose_commands(Commands) ->
|
|||||||
Commands),
|
Commands),
|
||||||
|
|
||||||
case ejabberd_config:add_option(commands, [{add_commands, Names}]) of
|
case ejabberd_config:add_option(commands, [{add_commands, Names}]) of
|
||||||
|
ok ->
|
||||||
|
ok;
|
||||||
{aborted, Reason} ->
|
{aborted, Reason} ->
|
||||||
{error, Reason};
|
{error, Reason};
|
||||||
{atomic, Result} ->
|
{atomic, Result} ->
|
||||||
|
Loading…
Reference in New Issue
Block a user