aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-24 09:00:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-24 09:00:10 +0100
commit9d178a5c16b4db95e83cfe01510664ca59cbe720 (patch)
treee0b6f37752e20e7ace1699e11e23ce927a9418dd /lualib/lua_magic
parent0dd633867792aff84fc9eb21a259d544f8befaed (diff)
downloadrspamd-9d178a5c16b4db95e83cfe01510664ca59cbe720.tar.gz
rspamd-9d178a5c16b4db95e83cfe01510664ca59cbe720.zip
[Minor] Oops, fix dwg support
Diffstat (limited to 'lualib/lua_magic')
-rw-r--r--lualib/lua_magic/patterns.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index 0b5e556d1..31267de31 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -373,9 +373,11 @@ local patterns = {
},
dwg = {
matches = {
- string = 'AC10[12][2-9]',
- position = 6,
- weight = 60,
+ {
+ string = 'AC10[12][2-9]',
+ position = 6,
+ weight = 60,
+ }
}
},
}