fixed compilation error with disable_debug_log flag

This commit is contained in:
Izik Abramov
2017-12-05 15:35:26 +02:00
committed by Felipe Zimmerle
parent 81e1cdced3
commit e9f3312ea9
5 changed files with 32 additions and 4 deletions

View File

@@ -50,8 +50,9 @@ bool Exec::init(std::string *error) {
bool Exec::evaluate(Rule *rule, Transaction *t) {
#ifndef NO_LOGS
t->debug(8, "Running script... " + m_script);
#endif
m_lua.run(t);
return true;
}