From: Mickael Remond Date: Sat, 30 Jul 2016 18:12:04 +0000 (+0200) Subject: Change name of result key for offline count to value X-Git-Tag: 16.08~6^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a49f8cae7e579abfdd3c988c6749087c06fdd86;p=ejabberd Change name of result key for offline count to value This is more user friendly and should be more consistent with other commands. --- diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 2ad1cc28e..c23fd7818 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -535,7 +535,7 @@ get_commands_spec() -> policy = user, module = mod_offline, function = count_offline_messages, args = [], - result = {res, integer}}, + result = {value, integer}}, #ejabberd_commands{name = send_message, tags = [stanza], desc = "Send a message to a local or remote bare of full JID", module = ?MODULE, function = send_message,