fix typo in last commit.

package is a standard lua module, not a good variable name.
log name of script.
This commit is contained in:
Enno Rehling 2014-11-06 07:53:15 +01:00
parent 143fab9653
commit 49493fa630
2 changed files with 4 additions and 4 deletions

View File

@ -10,11 +10,11 @@ local function change_locales(localechange)
end end
end end
local package = {} local pkg = {}
function pacakge.update() function pkg.update()
local localechange = { de = { 'ii' } } local localechange = { de = { 'ii' } }
change_locales(localechange) change_locales(localechange)
end end
return package return pkg

View File

@ -268,7 +268,7 @@ int main(int argc, char **argv)
bind_monsters(L); bind_monsters(L);
err = eressea_run(L, luafile); err = eressea_run(L, luafile);
if (err) { if (err) {
log_error("server execution failed with code %d\n", err); log_error("script %s failed with code %d\n", luafile, err);
return err; return err;
} }
#ifdef MSPACES #ifdef MSPACES