aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 7bf5653b..8f428476 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -705,7 +705,7 @@ function resolver:purge(soft) -- - - - - - - - - - - - - - - - - - - purge
end
end
end
- else self.cache = {}; end
+ else self.cache = setmetatable({}, cache_metatable); end
end