aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 0e43b7ab5..69644ba24 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 {