summaryrefslogtreecommitdiff
path: root/LinBPQ.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-03-31 00:53:37 +0100
committerDave Hibberd <hibby@debian.org>2025-05-21 21:32:18 +0100
commitd3b4158645e6e3f1454281f68f1a89b946aef552 (patch)
treee1fa7ce3f7b3942e39b0ce578900fd18364eeef3 /LinBPQ.c
parentfec78cece5eb05c5f9ab7d9684bd66a6652edaaa (diff)
New upstream version 6.0.24.69+repack
Diffstat (limited to 'LinBPQ.c')
-rw-r--r--LinBPQ.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/LinBPQ.c b/LinBPQ.c
index 295afd8..fc5e900 100644
--- a/LinBPQ.c
+++ b/LinBPQ.c
@@ -787,6 +787,8 @@ int Redirected = 0;
static void segvhandler(int sig);
static void abrthandler(int sig);
+void GetRestartData();
+
int main(int argc, char * argv[])
{
@@ -1174,6 +1176,8 @@ int main(int argc, char * argv[])
chmod(MailDir, S_IRWXU | S_IRWXG | S_IRWXO);
#endif
+
+
// Make backup copies of Databases
// CopyConfigFile(ConfigName);
@@ -1195,6 +1199,7 @@ int main(int argc, char * argv[])
GetBadWordFile();
GetHTMLForms();
GetPGConfig();
+ GetRestartData();
// Make sure there is a user record for the BBS, with BBS bit set.
@@ -1442,6 +1447,7 @@ int main(int argc, char * argv[])
SaveMessageDatabase();
SaveBIDDatabase();
SaveConfig(ConfigName);
+ SaveRestartData();
}
KEEPGOING--; // Give time for links to close