1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-11 18:40:25 +01:00

fix global var in email mod

This commit is contained in:
crabman77 2015-12-24 20:55:43 +01:00
parent 973d25c087
commit e158353061

View File

@ -75,7 +75,7 @@ function email.get_formspec(name)
local fs = "size[12,8]"
fs = fs .. "vertlabel[0,0;email Mail]"
function row(fs, c1, date, from, msg)
local function row(fs, c1, date, from, msg)
date = minetest.formspec_escape(date)
from = minetest.formspec_escape(from)
msg = minetest.formspec_escape(msg)