* Added "instant expunge" and "allow spoofing" site config options.
[citadel.git] / citadel / serv_vandelay.c
index 30c30a0ee4efad01a79d1a0af977044be15b5098..5f4de4aca0d0c01ae168569fa484cc38747f2919 100644 (file)
@@ -310,6 +310,8 @@ void artv_do_export(void) {
        cprintf("%s\n", config.c_baseroom);
        cprintf("%s\n", config.c_aideroom);
        cprintf("%d\n", config.c_auto_cull);
+       cprintf("%d\n", config.c_instant_expunge);
+       cprintf("%d\n", config.c_allow_spoofing);
 
        /* Export the control file */
        get_control();
@@ -385,6 +387,8 @@ void artv_import_config(void) {
        client_getln(config.c_baseroom, sizeof config.c_baseroom);
        client_getln(config.c_aideroom, sizeof config.c_aideroom);
        client_getln(buf, sizeof buf);  config.c_auto_cull = atoi(buf);
+       client_getln(buf, sizeof buf);  config.c_instant_expunge = atoi(buf);
+       client_getln(buf, sizeof buf);  config.c_allow_spoofing = atoi(buf);
        config.c_enable_fulltext = 0;   /* always disable */
        put_config();
        lprintf(CTDL_INFO, "Imported config file\n");