git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3044
e03df62e-2008-0410-955e-
edbf42e46eb7
log(DEBUG,"Caching hostname %s -> %s",(char*)inet_ntoa(usr->ip4),hostname.c_str());
addrcache[usr->ip4] = new std::string(hostname);
}
+ WriteServ(usr->fd,"NOTICE Auth :*** Found your hostname");
}
usr->dns_done = true;
return true;
{
if ((usr->registered > 3) || (hostname == ""))
{
+ WriteServ(usr->fd,"NOTICE Auth :*** Could not resolve your hostname -- Using your IP address instead");
usr->dns_done = true;
return true;
}