Add missing community check

This commit is contained in:
emanuele-f 2020-01-20 13:21:16 +01:00
parent 3b4adc9d37
commit dd8643ad79

View file

@ -417,7 +417,9 @@ function flow.setStatus(status_id, flow_score, cli_score, srv_score)
predominant_status = new_status
end
score_utils.updateScore(flow, status_id, status_json, new_status, flow_score, cli_score, srv_score)
if score_utils then
score_utils.updateScore(flow, status_id, status_json, new_status, flow_score, cli_score, srv_score)
end
end
return(changed)