Add in_lua flag

In preparation of making config errors available to lua scripts,
instead outputting them via pline.
This commit is contained in:
Pasi Kallinen
2021-02-10 17:06:12 +02:00
parent 33ee596d68
commit 9576154690
6 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -542,7 +542,7 @@ com_pager_core(const char *section, const char *msgid, boolean showerror)
free((genericptr_t) synopsis);
if (fallback_msgid)
free((genericptr_t) fallback_msgid);
lua_close(L);
nhl_done(L);
return res;
}