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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user