]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix raw logic inversion in `get_header` method
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Nov 2015 15:13:55 +0000 (15:13 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Nov 2015 15:13:55 +0000 (15:13 +0000)
src/lua/lua_task.c

index 0e43b7ab55f7b98e8e0ce41c3eae808d7f4a3328..69644ba24c3d9ee9dc8b057313e3c8f5e41dfa24 100644 (file)
@@ -1053,7 +1053,7 @@ rspamd_lua_push_header (lua_State * L,
                        rh = rh->next;
                }
                else {
-                       if (raw) {
+                       if (!raw) {
                                val = rh->decoded;
                        }
                        else {