aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/cache.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cache.lua b/util/cache.lua
index a5fd5e6d..cd1b4544 100644
--- a/util/cache.lua
+++ b/util/cache.lua
@@ -28,7 +28,7 @@ local function _insert(list, m)
end
local cache_methods = {};
-local cache_mt = { __index = cache_methods };
+local cache_mt = { __name = "cache", __index = cache_methods };
function cache_methods:set(k, v)
local m = self._data[k];