From: Wilfried Göesgens Date: Sun, 15 Aug 2010 13:02:38 +0000 (+0000) Subject: * cmd_gpex(): fix policy querieing for rooms X-Git-Tag: v8.01~898 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=96aa23d7d7a9c59938e4bc2198f69e0e6801cf99 * cmd_gpex(): fix policy querieing for rooms --- diff --git a/citadel/modules/expire/expire_policy.c b/citadel/modules/expire/expire_policy.c index 9b2faf1a5..f1d144943 100644 --- a/citadel/modules/expire/expire_policy.c +++ b/citadel/modules/expire/expire_policy.c @@ -85,7 +85,8 @@ void cmd_gpex(char *argbuf) { char which[128]; extract_token(which, argbuf, 0, '|', sizeof which); - if (!strcasecmp(which, strof(room))) { + if (!strcasecmp(which, strof(roompolicy))|| + !strcasecmp(which, "room")) { /* Deprecated version */ memcpy(&exp, &CC->room.QRep, sizeof(struct ExpirePolicy)); } else if (!strcasecmp(which, strof(floorpolicy))||