diff options
| author | 2023-01-07 04:36:31 +0000 | |
|---|---|---|
| committer | 2023-01-07 04:36:31 +0000 | |
| commit | 9e985f59795bcb9857b82bbcd3ff548699f57462 (patch) | |
| tree | 70cdc88de34c5c0414af17fcc7e8fcde5eec22e9 /src/modules/m_dnsbl.cpp | |
| parent | Add a helper class for creating a reference to a DNS manager. (diff) | |
Add some overloads of Find{Nick,UUID,} for local/remote users.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
| -rw-r--r-- | src/modules/m_dnsbl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 85480d3b5..63426cc6e 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -226,7 +226,7 @@ public: void OnLookupComplete(const DNS::Query* r) override { /* Check the user still exists */ - LocalUser* them = IS_LOCAL(ServerInstance->Users.FindUUID(uuid)); + LocalUser* them = ServerInstance->Users.FindUUID<LocalUser>(uuid); if (!them || them->client_sa != sa) { config->stats_misses++; @@ -358,7 +358,7 @@ public: break; } - LocalUser* them = IS_LOCAL(ServerInstance->Users.FindUUID(uuid)); + LocalUser* them = ServerInstance->Users.FindUUID<LocalUser>(uuid); if (!them || them->client_sa != sa) return; |
