]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
quota-maildir: Don't crash at startup.
authorTimo Sirainen <tss@iki.fi>
Thu, 15 Oct 2009 23:51:14 +0000 (19:51 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 15 Oct 2009 23:51:14 +0000 (19:51 -0400)
--HG--
branch : HEAD

src/plugins/quota/quota-maildir.c

index 6a25b5d80212086b76ccb4841294a0777011ec10..913ad0cdbf6d42302c24b839ad95e78e98ad0d0b 100644 (file)
@@ -783,9 +783,6 @@ maildir_quota_namespace_added(struct quota *quota, struct mail_namespace *ns)
        struct quota_root **roots;
        unsigned int i, count;
 
-       if (strcmp(ns->storage->name, "maildir") != 0)
-               return;
-
        roots = array_get_modifiable(&quota->roots, &count);
        for (i = 0; i < count; i++) {
                if (roots[i]->backend.name == quota_backend_maildir.name &&