diff options
author | Adam <Adam@anope.org> | 2017-10-07 21:10:47 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-10-07 21:10:47 -0400 |
commit | 2312f1fbd06ac01bb55e1d99070cde05a09a5a17 (patch) | |
tree | 69239628ed39e342650574f93d441f58d6d82b7b /modules/database/old.cpp | |
parent | 286bffa2cd6a3f564334c5a4669ea3aadfb27a0a (diff) |
No longer expose c->ci and ci->c
Diffstat (limited to 'modules/database/old.cpp')
-rw-r--r-- | modules/database/old.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/database/old.cpp b/modules/database/old.cpp index 80e179637..c647cb4e8 100644 --- a/modules/database/old.cpp +++ b/modules/database/old.cpp @@ -1465,8 +1465,8 @@ class DBOld : public Module mlock_limit.Unset(ci); mlock_key.Unset(ci); - if (ci->c) - ci->c->CheckModes(); + if (ci->GetChannel()) + ci->GetChannel()->CheckModes(); } } }; |