summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-07-30 20:12:04 +0200
committerMickael Remond <mremond@process-one.net>2016-07-30 20:12:04 +0200
commit2a49f8cae7e579abfdd3c988c6749087c06fdd86 (patch)
tree429474cc34a27acd4450454a35d61d265c25e85b /src
parentAdd support for sending back missing scope error to API ReST command calls (diff)
Change name of result key for offline count to value
This is more user friendly and should be more consistent with other commands.
Diffstat (limited to 'src')
-rw-r--r--src/mod_admin_extra.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index 2ad1cc28..c23fd781 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,