From 2312f1fbd06ac01bb55e1d99070cde05a09a5a17 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 7 Oct 2017 21:10:47 -0400 Subject: No longer expose c->ci and ci->c --- modules/database/old.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/database/old.cpp') 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(); } } }; -- cgit