projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
807e3cb
)
* cmd_gpex(): fix policy querieing for rooms
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 15 Aug 2010 13:02:38 +0000
(13:02 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 15 Aug 2010 13:02:38 +0000
(13:02 +0000)
citadel/modules/expire/expire_policy.c
patch
|
blob
|
history
diff --git
a/citadel/modules/expire/expire_policy.c
b/citadel/modules/expire/expire_policy.c
index 9b2faf1a52999e85f80c5b4a865161723b2832e3..f1d144943f80f8ff1fe981f4dcd33acbe331a1c9 100644
(file)
--- 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))||