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:
parent
a08c078820
commit
cc0546b9e3
@ -23,7 +23,7 @@ minetest.register_chatcommand("report", {
|
|||||||
end
|
end
|
||||||
|
|
||||||
if #mods > 0 then
|
if #mods > 0 then
|
||||||
mod_list = table.concat(mods, ", ")
|
local mod_list = table.concat(mods, ", ")
|
||||||
email.send_mail(name, minetest.setting_get("name"),
|
email.send_mail(name, minetest.setting_get("name"),
|
||||||
"Report: " .. param .. " (mods online: " .. mod_list .. ")")
|
"Report: " .. param .. " (mods online: " .. mod_list .. ")")
|
||||||
return true, "Reported. Moderators currently online: " .. mod_list
|
return true, "Reported. Moderators currently online: " .. mod_list
|
||||||
|
Loading…
Reference in New Issue
Block a user