summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/maillist.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/maillist.lua')
-rw-r--r--src/plugins/lua/maillist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/maillist.lua b/src/plugins/lua/maillist.lua
index 62ecc0341..2ec0c4255 100644
--- a/src/plugins/lua/maillist.lua
+++ b/src/plugins/lua/maillist.lua
@@ -221,7 +221,7 @@ end
local function check_ml_cgp(task)
local header = task:get_header('X-Listserver')
- if not header or header ~= 'CommuniGate Pro LIST' then
+ if not header or string.sub(header, 0, 20) ~= 'CommuniGate Pro LIST' then
return false
end