diff options
Diffstat (limited to 'modules/commands/os_stats.cpp')
-rw-r--r-- | modules/commands/os_stats.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_stats.cpp b/modules/commands/os_stats.cpp index d55bdb1dc..f325b3ab9 100644 --- a/modules/commands/os_stats.cpp +++ b/modules/commands/os_stats.cpp @@ -173,13 +173,13 @@ class CommandOSStats : public Command GetHashStats(ChannelList, entries, buckets, max_chain); source.Reply(_("Channels: %lu entries, %lu buckets, longest chain is %d"), entries, buckets, max_chain); - GetHashStats(*RegisteredChannelList, entries, buckets, max_chain); + GetHashStats(ChanServ::service->GetChannels(), entries, buckets, max_chain); source.Reply(_("Registered channels: %lu entries, %lu buckets, longest chain is %d"), entries, buckets, max_chain); - GetHashStats(*NickAliasList, entries, buckets, max_chain); + GetHashStats(NickServ::service->GetNickList(), entries, buckets, max_chain); source.Reply(_("Registered nicknames: %lu entries, %lu buckets, longest chain is %d"), entries, buckets, max_chain); - GetHashStats(*NickCoreList, entries, buckets, max_chain); + GetHashStats(NickServ::service->GetAccountList(), entries, buckets, max_chain); source.Reply(_("Registered nick groups: %lu entries, %lu buckets, longest chain is %d"), entries, buckets, max_chain); if (session_service) |