global page log room to be disabled (answer "no" to set the log room to a
null string)
$Log$
+ Revision 573.5 2000/10/03 01:45:00 ajc
+ * Changed the <.A>ide <S>ysconfig <G>eneral command to explicitly allow the
+ global page log room to be disabled (answer "no" to set the log room to a
+ null string)
+
Revision 573.4 2000/09/28 10:27:38 error
* commands.c: changed sttybbs() to support HP/UX termios VMIN and VTIME
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
int expire_mode = 0;
int expire_value = 0;
int a;
+ int logpages = 0;
/* Clear out the config buffers */
memset(&sc[0][0], 0, sizeof(sc));
"Restrict Internet mail to only those with that privilege",
atoi(&sc[11][0]))));
- strprompt("Name of room to log pages", &sc[18][0], ROOMNAMELEN);
+ if (strlen(&sc[18][0]) > 0) logpages = 1;
+ else logpages = 0;
+ logpages = boolprompt("Log all pages", logpages);
+ if (logpages) {
+ strprompt("Name of logging room", &sc[18][0], ROOMNAMELEN);
+ }
+ else {
+ sc[18][0] = 0;
+ }
/* Server tuning */