aboutsummaryrefslogtreecommitdiff
path: root/src/mod_admin_extra.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_admin_extra.erl')
-rw-r--r--src/mod_admin_extra.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index 7db05b0fc..00ff2d8f9 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -275,7 +275,7 @@ get_commands_spec() ->
result = {res, rescode},
result_example = ok,
result_desc = "Status code: 0 on success, 1 otherwise"},
- #ejabberd_commands{name = status_num_host, tags = [session, stats],
+ #ejabberd_commands{name = status_num_host, tags = [session, statistics],
desc = "Number of logged users with this status in host",
policy = admin,
module = ?MODULE, function = status_num,
@@ -285,7 +285,7 @@ get_commands_spec() ->
result = {users, integer},
result_example = 23,
result_desc = "Number of connected sessions with given status type"},
- #ejabberd_commands{name = status_num, tags = [session, stats],
+ #ejabberd_commands{name = status_num, tags = [session, statistics],
desc = "Number of logged users with this status",
policy = admin,
module = ?MODULE, function = status_num,
@@ -770,7 +770,7 @@ get_commands_spec() ->
args_desc = ["Username", "Server name", "Query XML element"],
result = {res, rescode}},
- #ejabberd_commands{name = stats, tags = [stats],
+ #ejabberd_commands{name = stats, tags = [statistics],
desc = "Get statistical value: registeredusers onlineusers onlineusersnode uptimeseconds processes",
policy = admin,
module = ?MODULE, function = stats,
@@ -780,7 +780,7 @@ get_commands_spec() ->
result_example = 6,
result_desc = "Integer statistic value",
result = {stat, integer}},
- #ejabberd_commands{name = stats_host, tags = [stats],
+ #ejabberd_commands{name = stats_host, tags = [statistics],
desc = "Get statistical value for this host: registeredusers onlineusers",
policy = admin,
module = ?MODULE, function = stats,