diff options
| author | 2020-07-20 12:16:48 +0100 | |
|---|---|---|
| committer | 2020-07-20 12:16:48 +0100 | |
| commit | 4e3d97546a5884b38a48303075a91c7485a6fae5 (patch) | |
| tree | cff0d17e3243ed600e6a6b3c72a1041202262f6d /src/modules/m_hostcycle.cpp | |
| parent | Pascalize ExtensionItem::{get,set,unset}_raw. (diff) | |
Pascalize Cap::set and rename Cap::get to IsEnabled.
Diffstat (limited to 'src/modules/m_hostcycle.cpp')
| -rw-r--r-- | src/modules/m_hostcycle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<User*,bool>::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) |
