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

@@ -24,7 +24,9 @@ bool RuleScript::init(std::string *err) {
bool RuleScript::evaluate(Transaction *trans,
std::shared_ptr<RuleMessage> ruleMessage) {
#ifndef NO_LOGS
trans->debug(4, " Executing script: " + m_name + ".");
#endif
bool containsDisruptive = false;
if (ruleMessage == NULL) {