Skip to content

Commit

Permalink
imap-filter-sieve: Fix FILTER to work correctly with pipelining
Browse files Browse the repository at this point in the history
Fixes e.g. FILTER+LOGOUT pipelining crash:
Panic: file imap-sync.c: line 832 (cmd_sync_delayed_real): assertion failed: (client->mailbox != NULL)
  • Loading branch information
sirainen authored and villesavolainen committed Jun 13, 2018
1 parent 08dcc56 commit 0eab68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/imap-filter-sieve/imap-filter-sieve-plugin.c
Expand Up @@ -37,7 +37,7 @@ const char imap_filter_sieve_plugin_binary_dependency[] = "imap";

void imap_filter_sieve_plugin_init(struct module *module)
{
command_register("FILTER", cmd_filter, 0);
command_register("FILTER", cmd_filter, COMMAND_FLAG_USES_SEQS);

imap_filter_sieve_module = module;
next_hook_client_created = imap_client_created_hook_set(
Expand Down

0 comments on commit 0eab68c

Please sign in to comment.