Instant expunge defaults to ON on new installations
authorArt Cancro <ajc@uncensored.citadel.org>
Mon, 16 Jan 2012 20:42:03 +0000 (15:42 -0500)
committerArt Cancro <ajc@uncensored.citadel.org>
Mon, 16 Jan 2012 20:42:03 +0000 (15:42 -0500)
citadel/modules/upgrade/serv_upgrade.c

index 6eebe67bac1b475b9f9f6299665124dc86790c2f..8e7ef34553a73014799218c4d0dff59adad75140 100644 (file)
@@ -265,6 +265,10 @@ void guess_time_zone(void) {
 void update_config(void) {
        get_config();
 
+       if (CitControl.version == 0) {
+               config.c_instant_expunge = 1;
+       }
+
        if (CitControl.version < 606) {
                config.c_rfc822_strict_from = 0;
        }