diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-16 08:23:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-16 08:23:26 +0100 |
commit | 6013ca9e240b4a0378513e83e4069a3ce67a0902 (patch) | |
tree | 7a1b7473d196d006b8a5f59291340f9880fe1b40 /util/set.lua | |
parent | d5e3920b6c12a9e616efba36a41bba8ca36f1aaf (diff) | |
download | prosody-6013ca9e240b4a0378513e83e4069a3ce67a0902.tar.gz prosody-6013ca9e240b4a0378513e83e4069a3ce67a0902.zip |
util.set: Add a __name field to metatable
Diffstat (limited to 'util/set.lua')
-rw-r--r-- | util/set.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/set.lua b/util/set.lua index c136a522..8630638e 100644 --- a/util/set.lua +++ b/util/set.lua @@ -12,7 +12,7 @@ local t_concat = table.concat; local _ENV = nil; -local set_mt = {}; +local set_mt = { __name = "set" }; function set_mt.__call(set, _, k) return next(set._items, k); end |