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/database/db_old.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/database/db_old.cpp')
| -rw-r--r-- | modules/database/db_old.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp index ac453fdbe..e1fe8f69d 100644 --- a/modules/database/db_old.cpp +++ b/modules/database/db_old.cpp @@ -701,7 +701,7 @@ static void LoadChannels() ci->SetFounder(NickCore::Find(buffer)); READ(read_string(buffer, f)); - ci->successor = NickCore::Find(buffer); + ci->SetSuccessor(NickCore::Find(buffer)); char pwbuf[32]; READ(read_buffer(pwbuf, f)); |
