c5fd218415
Fix luacheck warnings in spam.lua Fix global variable initialization (was needed only locally) Add beerchat to luacheck
22 lines
372 B
Lua
22 lines
372 B
Lua
globals = {
|
|
"mail",
|
|
}
|
|
|
|
read_globals = {
|
|
-- Stdlib
|
|
string = {fields = {"split"}},
|
|
table = {fields = {"copy", "getn", "indexof"}},
|
|
beerchat = {fields = {"has_player_muted_player", "execute_callbacks"}},
|
|
|
|
-- Minetest
|
|
"minetest",
|
|
"vector", "ItemStack",
|
|
"dump",
|
|
|
|
-- Deps
|
|
"unified_inventory", "default", "sfinv_buttons",
|
|
|
|
-- optional mods
|
|
"mtt", "canonical_name"
|
|
}
|