commit 2b98366: [Minor] Add some visual improvement
Vsevolod Stakhov
vsevolod at highsecure.ru
Sat Mar 9 14:28:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-03-09 13:40:25 +0000
URL: https://github.com/rspamd/rspamd/commit/2b983661df3fa084df7be9786e5da6f69e0cf82b
[Minor] Add some visual improvement
---
lualib/rspamadm/configgraph.lua | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lualib/rspamadm/configgraph.lua b/lualib/rspamadm/configgraph.lua
index 3aac97f52..9afc76cd6 100644
--- a/lualib/rspamadm/configgraph.lua
+++ b/lualib/rspamadm/configgraph.lua
@@ -46,6 +46,8 @@ local function output_dot(opts, nodes, adjastency)
if node.exists then
if node.priority >= 10 then
attrs[#attrs + 1] = "color=red"
+ elseif node.priority > 0 then
+ attrs[#attrs + 1] = "color=blue"
end
else
if opts.all then
More information about the Commits
mailing list