1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

fix global var

This commit is contained in:
crabman77 2015-12-23 21:00:42 +01:00
parent a08c078820
commit cc0546b9e3

View File

@ -23,7 +23,7 @@ minetest.register_chatcommand("report", {
end
if #mods > 0 then
mod_list = table.concat(mods, ", ")
local mod_list = table.concat(mods, ", ")
email.send_mail(name, minetest.setting_get("name"),
"Report: " .. param .. " (mods online: " .. mod_list .. ")")
return true, "Reported. Moderators currently online: " .. mod_list