diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-10-30 14:05:07 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-10-30 14:05:07 +0000 |
commit | 48521ba1538f797f5bef64f5fe5f3a9fb6e68f7f (patch) | |
tree | 9b4c0f541bdc655f318f00a383724e5ca4ce3aac /util | |
parent | 1ab96f2289a63f6d1fa55b5d131ebf3296206bc2 (diff) | |
download | prosody-48521ba1538f797f5bef64f5fe5f3a9fb6e68f7f.tar.gz prosody-48521ba1538f797f5bef64f5fe5f3a9fb6e68f7f.zip |
util.cache: Add __name to metatable
Diffstat (limited to 'util')
-rw-r--r-- | util/cache.lua | 2 |
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]; |