]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix 'decoded' value in task:get_header_full() 1088/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 1 Nov 2016 18:13:34 +0000 (20:13 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 1 Nov 2016 18:13:34 +0000 (20:13 +0200)
src/lua/lua_task.c

index 679e7b002fa1a95d14eb395eb269151059f842f4..e686876f7b587020a482b6e91f1b319142049afa 100644 (file)
@@ -1446,7 +1446,7 @@ rspamd_lua_push_header (lua_State * L,
                        }
 
                        if (rh->decoded) {
-                               rspamd_lua_table_set (L, "decoded", rh->value);
+                               rspamd_lua_table_set (L, "decoded", rh->decoded);
                        }
 
                        lua_pushstring (L, "tab_separated");