aboutsummaryrefslogtreecommitdiff
path: root/src/mod_admin_extra.erl
diff options
context:
space:
mode:
authorMickaël Rémond <mremond@process-one.net>2016-08-01 15:36:47 +0200
committerGitHub <noreply@github.com>2016-08-01 15:36:47 +0200
commit2ef58a33a9c3384429508bac60db8c322f4fc782 (patch)
tree5aaeefc8302746943c7f584ca16a95fce86e747e /src/mod_admin_extra.erl
parentRemove compile warning (diff)
parentImprove error message when try to call api on api root (diff)
Merge pull request #1223 from processone/expand_api
More API fixes and improvements
Diffstat (limited to 'src/mod_admin_extra.erl')
-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 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,