diff options
Diffstat (limited to 'dbimport.lua')
-rw-r--r-- | dbimport.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbimport.lua b/dbimport.lua index ec9293d..0d342bf 100644 --- a/dbimport.lua +++ b/dbimport.lua @@ -11,13 +11,13 @@ minetest.register_chatcommand("xban_dbi", { privs = { server=true }, func = function(name, params) if params == "--list" then - local names = { } - for name in pairs(xban.importers) do - table.insert(names, name) + local importers = { } + for importer in pairs(xban.importers) do + table.insert(importers, importer) end minetest.chat_send_player(name, ("[xban] Known importers: %s"):format( - table.concat(names, ", "))) + table.concat(importers, ", "))) return elseif not xban.importers[params] then minetest.chat_send_player(name, |