]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Restore ONCE_RECEIVED symbol
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 23 Apr 2016 14:33:01 +0000 (15:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 23 Apr 2016 14:33:01 +0000 (15:33 +0100)
Issue: #602
Reported by: @AlexeySa

src/plugins/lua/once_received.lua

index 274504cf2645e011b9f5ef31d26d5512709adaea..341618429580c30979b68b68c166d4e2adc99054 100644 (file)
@@ -147,7 +147,6 @@ if opts then
     local id = rspamd_config:register_symbol({
       name = symbol,
       callback = check_quantity_received,
-      type = 'callback',
     })
 
     for n,v in pairs(opts) do