Mercurial > dovecot > core-2.2
diff src/plugins/acl/acl-plugin.c @ 11488:4b20e692c606 HEAD
lib-storage: Plugin API changed to run plugin functions in correct order.
Previously the hooks were run in correct order, but the functions they
overrode were run in reverse order. This caused problems when multiple
plugins were used.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 07 Jun 2010 17:06:17 +0100 |
parents | d4fd28f07507 |
children | 2311b5ca4d3f |
line wrap: on
line diff
--- a/src/plugins/acl/acl-plugin.c Mon Jun 07 14:05:42 2010 +0100 +++ b/src/plugins/acl/acl-plugin.c Mon Jun 07 17:06:17 2010 +0100 @@ -12,7 +12,8 @@ static struct mail_storage_hooks acl_mail_storage_hooks = { .mail_user_created = acl_mail_user_created, .mail_namespace_storage_added = acl_mail_namespace_storage_added, - .mailbox_allocated = acl_mailbox_allocated + .mailbox_allocated = acl_mailbox_allocated, + .mail_allocated = acl_mail_allocated }; void acl_plugin_init(struct module *module)