fix global var

master
crabman77 2015-12-23 21:02:17 +01:00
parent 91396876a5
commit 29b4369734
1 changed files with 1 additions and 1 deletions

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