X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fuser_resolver.cpp;h=0213a3cbf7743d04658d0ecebb455fffe5ff8709;hb=091e6e8bd9686f680fa72ab0844c7a2473233215;hp=0218f32690bcf78803d55bc3403e2783b82b398e;hpb=ee72c3d6e33db47310383c9189099b5df44f03e9;p=user%2Fhenk%2Fcode%2Finspircd.git 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))