]> granicus.if.org Git - ejabberd/commitdiff
Add 'config' tag to the reload_config command
authorBadlop <badlop@process-one.net>
Wed, 27 Mar 2019 10:51:43 +0000 (11:51 +0100)
committerBadlop <badlop@process-one.net>
Wed, 27 Mar 2019 10:51:43 +0000 (11:51 +0100)
src/ejabberd_admin.erl

index 2586718001f8debbc24d42f58043d16a7e2b55fb..c3192d5f9b55d669bcd06f177bd372cf2dd71c54 100644 (file)
@@ -198,7 +198,7 @@ get_commands_spec() ->
                        result_example = [<<"example.com">>, <<"anon.example.com">>],
                        args = [],
                        result = {vhosts, {list, {vhost, string}}}},
-     #ejabberd_commands{name = reload_config, tags = [server],
+     #ejabberd_commands{name = reload_config, tags = [server, config],
                        desc = "Reload config file in memory",
                        module = ?MODULE, function = reload_config,
                        args = [],