diff options
Diffstat (limited to 'src/mod_stats.erl')
-rw-r--r-- | src/mod_stats.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_stats.erl b/src/mod_stats.erl index 197335259..706c22a70 100644 --- a/src/mod_stats.erl +++ b/src/mod_stats.erl @@ -34,7 +34,6 @@ -export([start/2, stop/1, reload/3, process_iq/1, mod_options/1, depends/2]). --include("ejabberd.hrl"). -include("logger.hrl"). -include("xmpp.hrl"). @@ -137,7 +136,7 @@ get_local_stat(_Server, [], Name) ejabberd_auth:count_users(Host) + Total end, - 0, ?MYHOSTS), + 0, ejabberd_config:get_myhosts()), ?STATVAL((integer_to_binary(NumUsers)), <<"users">>); get_local_stat(_Server, _, Name) -> |