diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-11-28 22:34:01 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-11-28 22:34:01 +0000 |
| commit | 5d8d8963ef3279f86bd26928b43ca58c27704867 (patch) | |
| tree | 9fe9a224bd247020d186941173e373a0aed609f9 /LinBPQ.c | |
| parent | 96d6e87d127146b44fa79761de7cda1c3766add9 (diff) | |
| parent | e2a62732f504cca5db8fb8d6d38ca64dfd4b92ac (diff) | |
Update upstream source from tag 'upstream/6.0.24.51'
Update to upstream version '6.0.24.51'
with Debian dir b28e5722f66385b34f6117cf7c6dcf9d79e5cb62
Diffstat (limited to 'LinBPQ.c')
| -rw-r--r-- | LinBPQ.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -76,6 +76,7 @@ void SaveAIS(); void initAIS();
void DRATSPoll();
VOID GetPGConfig();
+void SendBBSDataToPktMap();
extern uint64_t timeLoadedMS;
@@ -1281,6 +1282,10 @@ int main(int argc, char * argv[]) printf("Mail Started\n");
Logprintf(LOG_BBS, NULL, '!', "Mail Starting");
+ APIClock = 0;
+
+ SendBBSDataToPktMap();
+
}
}
@@ -1579,6 +1584,13 @@ int main(int argc, char * argv[]) DoHouseKeeping(FALSE);
}
+ if (APIClock < NOW)
+ {
+ SendBBSDataToPktMap();
+ APIClock = NOW + 7200; // Every 2 hours
+ }
+
+
tm = gmtime(&NOW);
if (tm->tm_wday == 0) // Sunday
|
