]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_misc.c
imap server update to new API
[citadel.git] / citadel / modules / imap / imap_misc.c
index 47454b746ffea962751d7b3e6853a21e88b39b0f..fba0c767ebacc1cf7ad27d59d1b570a04709ac8d 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (c) 1987-2010 by the citadel.org team
  *
  * This program is free software; you can redistribute it and/or modify
@@ -52,7 +50,6 @@
 #include "support.h"
 #include "config.h"
 #include "user_ops.h"
-#include "policy.h"
 #include "database.h"
 #include "msgbase.h"
 #include "internet_addressing.h"
@@ -398,7 +395,7 @@ void imap_append(int num_parms, ConstStr *Params) {
        /* 
         * Can we post here?
         */
-       ret = CtdlDoIHavePermissionToPostInThisRoom(errbuf, sizeof errbuf, NULL, POST_LOGGED_IN);
+       ret = CtdlDoIHavePermissionToPostInThisRoom(errbuf, sizeof errbuf, NULL, POST_LOGGED_IN, 0);
 
        if (ret) {
                /* Nope ... print an error message */