Refactoring: Splits Rule into Rule and RuleWithActions

This commit is contained in:
Felipe Zimmerle
2019-02-19 10:15:01 -03:00
parent 43f8aee6b6
commit 8eb7b8fe6c
93 changed files with 360 additions and 382 deletions

View File

@@ -49,7 +49,7 @@ bool Exec::init(std::string *error) {
}
bool Exec::evaluate(Rule *rule, Transaction *t) {
bool Exec::evaluate(RuleWithActions *rule, Transaction *t) {
ms_dbg_a(t, 8, "Running script... " + m_script);
m_lua.run(t);
return true;