mirror of
https://github.com/rspamd/rspamd.git
synced 2024-08-19 02:10:31 +02:00
[Minor] Fix task with no config case
This commit is contained in:
parent
5e664e839c
commit
843a6e1bcd
@ -1343,7 +1343,9 @@ rspamd_message_process (struct rspamd_task *task)
|
||||
msg_err_task ("cannot require lua_content.maybe_process_mime_part");
|
||||
}
|
||||
|
||||
funcs_top = lua_gettop (L);
|
||||
if (L) {
|
||||
funcs_top = lua_gettop (L);
|
||||
}
|
||||
|
||||
PTR_ARRAY_FOREACH (MESSAGE_FIELD (task, parts), i, part) {
|
||||
if (magic_func_pos != -1 && part->parsed_data.len > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user