From 2a49f8cae7e579abfdd3c988c6749087c06fdd86 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Sat, 30 Jul 2016 20:12:04 +0200 Subject: [PATCH] Change name of result key for offline count to value This is more user friendly and should be more consistent with other commands. --- src/mod_admin_extra.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,