diff options
| author | 2021-12-03 13:37:42 +0000 | |
|---|---|---|
| committer | 2021-12-03 13:37:42 +0000 | |
| commit | 2466c048e26c09461b4ced2a9dfcf6d87f0e1323 (patch) | |
| tree | a4575894c6945acef81eb3dd91a206879dbec2ac /src/modules/m_hostcycle.cpp | |
| parent | Fix a bunch of cases where module types were not marked as final. (diff) | |
Consistently use `!foo` instead of `foo == NULL`.
Diffstat (limited to 'src/modules/m_hostcycle.cpp')
| -rw-r--r-- | src/modules/m_hostcycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hostcycle.cpp b/src/modules/m_hostcycle.cpp index f30b51993..6f0300c3d 100644 --- a/src/modules/m_hostcycle.cpp +++ b/src/modules/m_hostcycle.cpp @@ -73,7 +73,7 @@ class ModuleHostCycle final for (const auto& [chanuser, _] : c->GetUsers()) { LocalUser* u = IS_LOCAL(chanuser); - if (u == NULL || u == user) + if (!u || u == user) continue; if (u->already_sent == silent_id) continue; |
