summaryrefslogtreecommitdiff
path: root/src/user_resolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/user_resolver.cpp')
-rw-r--r--src/user_resolver.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/user_resolver.cpp b/src/user_resolver.cpp
index 0218f3269..0213a3cbf 100644
--- a/src/user_resolver.cpp
+++ b/src/user_resolver.cpp
@@ -21,12 +21,8 @@ UserResolver::UserResolver(InspIRCd* Instance, User* user, std::string to_resolv
this->bound_fd = user->GetFd();
}
-void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl, bool cached, int resultnum)
+void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl, bool cached)
{
- /* We are only interested in the first matching result */
- if (resultnum)
- return;
-
UserResolver *res_forward; // for forward-resolution
if ((!this->fwd) && (ServerInstance->SE->GetRef(this->bound_fd) == this->bound_user))