Adds partial support to UpdateActionById

This commit is contained in:
Felipe Zimmerle
2018-09-26 15:57:02 -03:00
parent 68398a51f3
commit 74841779f8
16 changed files with 922 additions and 712 deletions

View File

@@ -143,7 +143,7 @@ bool VerifyCC::evaluate(Transaction *t, Rule *rule,
if (is_cc) {
if (t) {
if (rule && t
&& rule->getActionsByName("capture").size() > 0) {
&& rule->getActionsByName("capture", t).size() > 0) {
t->m_collections.m_tx_collection->storeOrUpdateFirst(
"0", std::string(match));
#ifndef NO_LOGS