]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] DCC: Fix plugin callback type
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 4 Jan 2021 19:08:11 +0000 (19:08 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 4 Jan 2021 19:08:11 +0000 (19:08 +0000)
Issue: #3594

src/plugins/lua/dcc.lua

index 4fe7bfe78a310add5fe889df6b1c20f177e1a6a6..4cbe301e0118a181389faa8c61bace341792f951 100644 (file)
@@ -71,7 +71,8 @@ rule = dcc.configure(opts)
 if rule then
   local id = rspamd_config:register_symbol({
     name = 'DCC_CHECK',
-    callback = check_dcc
+    callback = check_dcc,
+    type = 'callback',
   })
   rspamd_config:register_symbol{
     type = 'virtual',