]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Force actions: show action in options
authorAndrew Lewis <nerf@judo.za.org>
Tue, 28 Mar 2017 14:41:59 +0000 (16:41 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 28 Mar 2017 14:41:59 +0000 (16:41 +0200)
src/plugins/lua/force_actions.lua

index 0b5528d97053f30c8d328acd63163319ef3cb672..2f87f728e5115ba5ebaa67db05a93cfc408d542c 100644 (file)
@@ -72,7 +72,7 @@ local function gen_cb(expr, act, pool, message, subject, raction, honor)
       else
         task:set_pre_result(act)
       end
-      return true
+      return true, act
     end
 
   end, e:atoms()