From 4e3d97546a5884b38a48303075a91c7485a6fae5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 20 Jul 2020 12:16:48 +0100 Subject: Pascalize Cap::set and rename Cap::get to IsEnabled. --- src/modules/m_hostcycle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_hostcycle.cpp') diff --git a/src/modules/m_hostcycle.cpp b/src/modules/m_hostcycle.cpp index 0230886fc..bee5cbb71 100644 --- a/src/modules/m_hostcycle.cpp +++ b/src/modules/m_hostcycle.cpp @@ -48,7 +48,7 @@ class ModuleHostCycle : public Module for (std::map::iterator i = exceptions.begin(); i != exceptions.end(); ++i) { LocalUser* u = IS_LOCAL(i->first); - if ((u) && (!u->quitting) && (!chghostcap.get(u))) + if ((u) && (!u->quitting) && (!chghostcap.IsEnabled(u))) { if (i->second) { @@ -79,7 +79,7 @@ class ModuleHostCycle : public Module continue; if (u->already_sent == silent_id) continue; - if (chghostcap.get(u)) + if (chghostcap.IsEnabled(u)) continue; if (u->already_sent != seen_id) -- cgit v1.3.1-10-gc9f91