Printing score only when > 0

This commit is contained in:
Alfredo Cardigliano 2019-09-05 21:18:49 +02:00
parent bd2bf91882
commit 240c7c0e84
4 changed files with 6 additions and 6 deletions

View file

@ -486,7 +486,7 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
local info = value["info"]
if(value["score"] >= 0) then
if(value["score"] > 0) then
info = info .. string.format(" [<b>score: %u</b>]", value["score"])
end