#include "room_ops.h"
#include "sysdep_decls.h"
#include "support.h"
-#include "user_ops.h"
#include "msgbase.h"
#include "citserver.h"
#include "ctdl_module.h"
+#include "user_ops.h"
/*
* Retrieve the applicable expire policy for a specific room
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))||
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);