From e5127603642d3f04a21480697bdf59517775fd8b Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 9 Nov 2010 14:59:35 -0500 Subject: [PATCH] Fixed DNS caching and made DNS cache empty results --- src/dns.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dns.cpp b/src/dns.cpp index b37a0bde6..5bdd2a4eb 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -559,6 +559,7 @@ void DNSManager::Tick(time_t now) for (std::multimap::iterator it = this->cache.begin(), it_next; it != this->cache.end(); it = it_next) { + Anope::string host = it->first; DNSRecord *req = it->second; it_next = it; ++it_next;