mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
mod_admin_extra: Fix stats(_host) argument types
This commit is contained in:
parent
46b33b51b4
commit
4e9b4cbc11
@ -532,12 +532,12 @@ commands() ->
|
||||
#ejabberd_commands{name = stats, tags = [stats],
|
||||
desc = "Get statistical value: registeredusers onlineusers onlineusersnode uptimeseconds",
|
||||
module = ?MODULE, function = stats,
|
||||
args = [{name, string}],
|
||||
args = [{name, binary}],
|
||||
result = {stat, integer}},
|
||||
#ejabberd_commands{name = stats_host, tags = [stats],
|
||||
desc = "Get statistical value for this host: registeredusers onlineusers",
|
||||
module = ?MODULE, function = stats,
|
||||
args = [{name, string}, {host, string}],
|
||||
args = [{name, binary}, {host, binary}],
|
||||
result = {stat, integer}}
|
||||
].
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user