* cmd_spex (): the new 'roompolicy' thing was missing here too.
[citadel.git] / citadel / modules / expire / expire_policy.c
index f1d144943f80f8ff1fe981f4dcd33acbe331a1c9..bc5d155d8342785cbaf2508a5a43383960dacb4a 100644 (file)
@@ -129,7 +129,8 @@ void cmd_spex(char *argbuf) {
                return;
        }
 
-       if (!strcasecmp(which, "room")) {
+       if (!strcasecmp(which, strof(roompolicy))||
+           !strcasecmp(which, "room")) {
                if (!is_room_aide()) {
                        cprintf("%d Higher access required.\n",
                                ERROR + HIGHER_ACCESS_REQUIRED);