diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-26 15:13:55 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-26 15:13:55 +0000 |
commit | c9fc8ae5a55a62f48a7364fefa3a01485b94f327 (patch) | |
tree | 8b53b64b12c78786bcf158edb3d747c40188d9e9 | |
parent | 51636bd7f39d496c46e7b909a9b8d594e48fba4c (diff) | |
download | rspamd-c9fc8ae5a55a62f48a7364fefa3a01485b94f327.tar.gz rspamd-c9fc8ae5a55a62f48a7364fefa3a01485b94f327.zip |
Fix raw logic inversion in `get_header` method
-rw-r--r-- | src/lua/lua_task.c | 2 |
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 { |