Clarifies conditional by placing its parts into parentheses

This commit is contained in:
Felipe Zimmerle 2015-12-01 10:56:50 -03:00
parent b5a43871e6
commit ea636e80ee

View File

@ -414,7 +414,7 @@ bool Rule::evaluate(Assay *assay) {
assay->m_collections.del("MATCHED_VARS_NAMES:" + v->m_key);
assay->m_collections.del("MATCHED_VARS_NAME");
}
if (this->chained && chainResult == true || !this->chained) {
if ((this->chained && chainResult == true) || !this->chained) {
for (Action *a :
assay->m_rules->defaultActions[this->phase]) {
if (a->action_kind