1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 13:46:38 +02:00

Fixed DNS caching and made DNS cache empty results

This commit is contained in:
Adam
2010-11-09 14:59:35 -05:00
parent ac41137ce2
commit e512760364
+1
View File
@@ -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;