summaryrefslogtreecommitdiff
path: root/modules/commands/os_stats.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-28 12:07:29 -0400
committerAdam <Adam@anope.org>2014-05-28 12:07:54 -0400
commitf29e1cf383529a1a29f02b0669d973f5ee0b7a66 (patch)
tree3c33db276dc9328235bbd572641521ed44458176 /modules/commands/os_stats.cpp
parent1253c70e0682fa1490c99c3d2869049a0e3fa2e0 (diff)
Move most of the core pseudoclient logic to modules
Diffstat (limited to 'modules/commands/os_stats.cpp')
-rw-r--r--modules/commands/os_stats.cpp6
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)