git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3042
e03df62e-2008-0410-955e-
edbf42e46eb7
{
strlcpy(usr->host,hostname.c_str(),MAXBUF);
strlcpy(usr->dhost,hostname.c_str(),MAXBUF);
{
strlcpy(usr->host,hostname.c_str(),MAXBUF);
strlcpy(usr->dhost,hostname.c_str(),MAXBUF);
- address_hash::iterator address = addrcache.find(usr->ip4);
+ address_cache::iterator address = addrcache.find(usr->ip4);
if (address == addrcache.end())
{
log(DEBUG,"Caching hostname %s -> %s",(char*)inet_ntoa(usr->ip4),hostname.c_str());
if (address == addrcache.end())
{
log(DEBUG,"Caching hostname %s -> %s",(char*)inet_ntoa(usr->ip4),hostname.c_str());
if (u)
{
/* Check the cache */
if (u)
{
/* Check the cache */
- address_hash::iterator address = addrcache.find(u->ip4);
+ address_cache::iterator address = addrcache.find(u->ip4);
if (address != addrcache.end())
{
/* Theyre in the cache, dont waste a lookup */
if (address != addrcache.end())
{
/* Theyre in the cache, dont waste a lookup */