From: Vsevolod Stakhov Date: Thu, 26 Nov 2015 15:13:55 +0000 (+0000) Subject: Fix raw logic inversion in `get_header` method X-Git-Tag: 1.1.0~473 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9fc8ae5a55a62f48a7364fefa3a01485b94f327;p=thirdparty%2Frspamd.git Fix raw logic inversion in `get_header` method --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 0e43b7ab55..69644ba24c 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1053,7 +1053,7 @@ rspamd_lua_push_header (lua_State * L, rh = rh->next; } else { - if (raw) { + if (!raw) { val = rh->decoded; } else {