]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
mailbox_allow_new_keywords() was returning the opposite value, causing \* flag to...
authorTimo Sirainen <tss@iki.fi>
Tue, 27 Jan 2009 19:33:48 +0000 (14:33 -0500)
committerTimo Sirainen <tss@iki.fi>
Tue, 27 Jan 2009 19:33:48 +0000 (14:33 -0500)
--HG--
branch : HEAD

src/lib-storage/index/index-storage.c

index 5dc73984b1637f3558c6c24ce4cd19076e0d87ff..d6e4aa90f52083248e3e401f4a910f517ea8cde1 100644 (file)
@@ -520,7 +520,7 @@ bool index_storage_is_readonly(struct mailbox *box)
 bool index_storage_allow_new_keywords(struct mailbox *box)
 {
        /* FIXME: return FALSE if we're full */
-       return index_storage_is_readonly(box);
+       return !index_storage_is_readonly(box);
 }
 
 bool index_storage_is_inconsistent(struct mailbox *box)