diff options
Diffstat (limited to 'src/mod_stats.erl')
-rw-r--r-- | src/mod_stats.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_stats.erl b/src/mod_stats.erl index 772d51098..d3a705564 100644 --- a/src/mod_stats.erl +++ b/src/mod_stats.erl @@ -136,7 +136,7 @@ get_local_stat(_Server, [], Name) ejabberd_auth:count_users(Host) + Total end, - 0, ejabberd_config:get_myhosts()), + 0, ejabberd_option:hosts()), ?STATVAL((integer_to_binary(NumUsers)), <<"users">>); get_local_stat(_Server, _, Name) -> |