]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Oops, fix dwg support
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Sep 2019 08:00:10 +0000 (09:00 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Sep 2019 08:00:10 +0000 (09:00 +0100)
lualib/lua_magic/patterns.lua

index 0b5e556d16c32047572a1468b0d2076c300e625f..31267de311ca77c554e517a0c0a60d46729b6249 100644 (file)
@@ -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,
+      }
     }
   },
 }