forked from github/server
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:
parent
143fab9653
commit
49493fa630
|
@ -10,11 +10,11 @@ local function change_locales(localechange)
|
|||
end
|
||||
end
|
||||
|
||||
local package = {}
|
||||
local pkg = {}
|
||||
|
||||
function pacakge.update()
|
||||
function pkg.update()
|
||||
local localechange = { de = { 'ii' } }
|
||||
change_locales(localechange)
|
||||
end
|
||||
|
||||
return package
|
||||
return pkg
|
||||
|
|
|
@ -268,7 +268,7 @@ int main(int argc, char **argv)
|
|||
bind_monsters(L);
|
||||
err = eressea_run(L, luafile);
|
||||
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;
|
||||
}
|
||||
#ifdef MSPACES
|
||||
|
|
Loading…
Reference in New Issue