diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-06-10 22:37:16 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2015-03-26 14:00:30 +0100 |
commit | 4e9b4cbc11b17087d432d19bba38aff1558e5a98 (patch) | |
tree | 4934ee387ca8daf75f445785d6ee2907e82dd490 /src/mod_admin_extra.erl | |
parent | Update kick_session to work with ejabberd master (diff) |
mod_admin_extra: Fix stats(_host) argument types
Diffstat (limited to 'src/mod_admin_extra.erl')
-rw-r--r-- | src/mod_admin_extra.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 71222bad..63703ec4 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -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}} ]. |