diff options
author | Adam <Adam@anope.org> | 2013-02-13 17:42:01 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-14 01:20:18 -0500 |
commit | 9e544a6443117861c3d6406e435043f1cf0f7099 (patch) | |
tree | e7449fb01e377576e8a09f386117d2c251de0596 /modules/commands/cs_info.cpp | |
parent | 225b7c38c127fbc6aac6724012f71c9483a4da77 (diff) |
Store what channels have references to accounts in NickCore to prevent having to iterate over all channels and then all access entries when nicks expire or from nickserv/alist
Diffstat (limited to 'modules/commands/cs_info.cpp')
-rw-r--r-- | modules/commands/cs_info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_info.cpp b/modules/commands/cs_info.cpp index c37a74dd5..9485e81fd 100644 --- a/modules/commands/cs_info.cpp +++ b/modules/commands/cs_info.cpp @@ -59,8 +59,8 @@ class CommandCSInfo : public Command if (ci->GetFounder()) info["Founder"] = ci->GetFounder()->display; - if (show_all && ci->successor) - info["Successor"] = ci->successor->display; + if (show_all && ci->GetSuccessor()) + info["Successor"] = ci->GetSuccessor()->display; if (!ci->desc.empty()) info["Description"] = ci->desc; |