aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dnsbl.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-09 16:01:52 +0000
committerGravatar Sadie Powell2020-02-09 17:16:07 +0000
commit1cdffcaad7e62f84ca1ee85e8c4265d2701afd08 (patch)
tree48a13b1c4d65ca2c76852680a7dcba4db2696c65 /src/modules/m_dnsbl.cpp
parentUse C++11 inline initialisation for class members. (diff)
downloadinspircd++-1cdffcaad7e62f84ca1ee85e8c4265d2701afd08.tar.gz
inspircd++-1cdffcaad7e62f84ca1ee85e8c4265d2701afd08.tar.bz2
inspircd++-1cdffcaad7e62f84ca1ee85e8c4265d2701afd08.zip
Move FindUUID to the UserManager class.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
-rw-r--r--src/modules/m_dnsbl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index a52e2cbe9..a16384560 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -74,7 +74,7 @@ class DNSBLResolver : public DNS::Request
void OnLookupComplete(const DNS::Query *r) override
{
/* Check the user still exists */
- LocalUser* them = IS_LOCAL(ServerInstance->FindUUID(theiruid));
+ LocalUser* them = IS_LOCAL(ServerInstance->Users.FindUUID(theiruid));
if (!them || them->client_sa != theirsa)
return;
@@ -220,7 +220,7 @@ class DNSBLResolver : public DNS::Request
void OnError(const DNS::Query *q) override
{
- LocalUser* them = IS_LOCAL(ServerInstance->FindUUID(theiruid));
+ LocalUser* them = IS_LOCAL(ServerInstance->Users.FindUUID(theiruid));
if (!them || them->client_sa != theirsa)
return;