Fixed inspectFile operator does not pass FILES_TMPNAMES

pass FILES_TMPNAMES variable to lua engine Fixed Lua engine
should also be aware of the variable and pass it to the target
lua script main function
This commit is contained in:
root
2019-11-09 06:36:34 +03:00
committed by Felipe Zimmerle
parent 05e9e7cf31
commit 6624a18a4e
4 changed files with 16 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ class Lua {
Lua() { }
bool load(std::string script, std::string *err);
int run(Transaction *t);
int run(Transaction *t, const std::string &str="");
static bool isCompatible(std::string script, Lua *l, std::string *error);
#ifdef WITH_LUA