aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-09 13:40:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-09 14:18:16 +0000
commit2b983661df3fa084df7be9786e5da6f69e0cf82b (patch)
tree3de6281c8f6d5180c4dde9e5c994f24944811434 /lualib
parentfff6f70c33bbf080301230cbecb6aa00bbb6c5b3 (diff)
downloadrspamd-2b983661df3fa084df7be9786e5da6f69e0cf82b.tar.gz
rspamd-2b983661df3fa084df7be9786e5da6f69e0cf82b.zip
[Minor] Add some visual improvement
Diffstat (limited to 'lualib')
-rw-r--r--lualib/rspamadm/configgraph.lua2
1 files changed, 2 insertions, 0 deletions
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