]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
acl: Reverted last change. It still allows reading the default ACL from .DEFAULT...
authorTimo Sirainen <tss@iki.fi>
Fri, 1 Oct 2010 14:01:09 +0000 (15:01 +0100)
committerTimo Sirainen <tss@iki.fi>
Fri, 1 Oct 2010 14:01:09 +0000 (15:01 +0100)
src/plugins/acl/acl-backend-vfile.c

index 447ec6b92eb196a8a9f80a57bc701563c1d36bf0..9c5b2cd56041a37431dda66b2bf4a2d1e79bb22f 100644 (file)
@@ -173,11 +173,8 @@ acl_backend_vfile_object_init(struct acl_backend *_backend,
 
                vname = t_str_new(128);
                mail_namespace_get_vname(ns, vname, name);
-               if (str_len(vname) > 0) {
-                       aclobj->global_path =
-                               i_strconcat(backend->global_dir, "/",
-                                           str_c(vname), NULL);
-               }
+               aclobj->global_path = i_strconcat(backend->global_dir, "/",
+                                                 str_c(vname), NULL);
        } T_END;
 
        dir = acl_backend_vfile_get_local_dir(_backend, name);