-/* More Citadel/UX routines...
- * unlike routines.c, some of these DO use global variables.
- * $Id$
+/* $Id$
+ *
+ * More client-side support functions.
+ * Unlike routines.c, some of these DO use global variables.
+ *
*/
#include "sysdep.h"
void do_system_configuration(void)
{
char buf[256];
- char sc[25][256];
+ char sc[26][256];
int expire_mode = 0;
int expire_value = 0;
int a;
if (buf[0] == '1') {
a = 0;
while (serv_gets(buf), strcmp(buf, "000")) {
- if (a < 25)
+ if (a < 26)
strcpy(&sc[a][0], buf);
++a;
}
strprompt("Geographic location of this system", &sc[12][0], 31);
strprompt("Name of system administrator", &sc[13][0], 25);
strprompt("Paginator prompt", &sc[10][0], 79);
-
+ strprompt("Default moderation filter for new users", &sc[25][0], 4);
/* Security parameters */
/* Expiry settings */
-
strprompt("Default user purge time (days)", &sc[16][0], 5);
strprompt("Default room purge time (days)", &sc[17][0], 5);
serv_puts("CONF set");
serv_gets(buf);
if (buf[0] == '4') {
- for (a = 0; a < 25; ++a)
+ for (a = 0; a < 26; ++a)
serv_puts(&sc[a][0]);
serv_puts("000");
}