diff options
Diffstat (limited to 'modules/hostcycle.cpp')
| -rw-r--r-- | modules/hostcycle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hostcycle.cpp b/modules/hostcycle.cpp index 1b9408a83..d9af979f4 100644 --- a/modules/hostcycle.cpp +++ b/modules/hostcycle.cpp @@ -48,7 +48,7 @@ class ModuleHostCycle final exceptions.erase(user); for (const auto& [exception, sendto] : exceptions) { - LocalUser* u = IS_LOCAL(exception); + auto* u = exception->AsLocal(); if ((u) && (!u->quitting) && (!chghostcap.IsEnabled(u))) { if (sendto) @@ -72,7 +72,7 @@ class ModuleHostCycle final for (const auto& [chanuser, _] : c->GetUsers()) { - LocalUser* u = IS_LOCAL(chanuser); + auto* u = chanuser->AsLocal(); if (!u || u == user) continue; if (u->already_sent == silent_id) |
