]> granicus.if.org Git - ejabberd/commitdiff
Handle new possible result from ejabberd_config.add_option
authorPaweł Chmielowski <pchmielowski@process-one.net>
Thu, 6 Jul 2017 15:18:44 +0000 (17:18 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Thu, 6 Jul 2017 15:19:22 +0000 (17:19 +0200)
src/ejabberd_commands.erl

index d5d0600ac2a5eb4a413838a62b317d337492de33..2659072997a348c969c2ef3415ded1a2b51d4e60 100644 (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} ->