summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 14:33:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 14:33:34 +0000
commit5a17e1b8bd690a573c91e5c69f2c150fe0516f7a (patch)
tree45e82efdb9e6da810b62ff679c67e8ff5caa505b /src
parente401f5bf5bb6d774f66c7bdd978f87ddf0990bc2 (diff)
Typoes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3042 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/dnsqueue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index cd6f696d6..71f227567 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -131,7 +131,7 @@ public:
{
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());
@@ -210,7 +210,7 @@ bool lookup_dns(std::string nick)
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 */