diff options
Diffstat (limited to 'src/coremods')
-rw-r--r-- | src/coremods/core_dns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_dns.cpp b/src/coremods/core_dns.cpp index 326135465..11c2c823c 100644 --- a/src/coremods/core_dns.cpp +++ b/src/coremods/core_dns.cpp @@ -708,8 +708,8 @@ class MyManager : public Manager, public Timer, public EventHandler SocketEngine::Shutdown(this, 2); SocketEngine::Close(this); - /* Remove expired entries from the cache */ - this->Tick(ServerInstance->Time()); + // Remove all entries from the cache. + cache.clear(); } irc::sockets::aptosa(dnsserver, DNS::PORT, myserver); |