$Log$
+ Revision 591.46 2002/06/16 21:01:11 ajc
+ * Allow Aides to create rooms in other users' namespaces (if global access
+ controls allow)
+
Revision 591.45 2002/06/15 20:48:50 ajc
* Fixed small bug in the e<X>pert mode toggle
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
return;
}
- if ((new_room_type < 0) || (new_room_type > 4)) {
+ if ((new_room_type < 0) || (new_room_type > 5)) {
cprintf("%d Invalid room type.\n", ERROR);
return;
}
+ if (new_room_type == 5) {
+ if ((config.c_aide_mailboxes == 0)
+ || (CC->usersupp.axlevel < 6)) {
+ cprintf("%d Higher access required\n",
+ ERROR+HIGHER_ACCESS_REQUIRED);
+ return;
+ }
+ }
+
/* Check to make sure the requested room name doesn't already exist */
newflags = create_room(new_room_name,
new_room_type, new_room_pass, new_room_floor, 0, 0);