diff options
author | Adam <Adam@anope.org> | 2010-11-09 14:59:35 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:33:50 -0500 |
commit | e5127603642d3f04a21480697bdf59517775fd8b (patch) | |
tree | 825977cb2dde941b00653200051655b9679e05b0 /src/dns.cpp | |
parent | ac41137ce2741df8faf539e0655a10cd4a8f7e32 (diff) |
Fixed DNS caching and made DNS cache empty results
Diffstat (limited to 'src/dns.cpp')
-rw-r--r-- | src/dns.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<Anope::string, DNSRecord *>::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; |