diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-11-30 21:42:45 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-11-30 21:42:45 +0000 |
| commit | 3a600bee231fc20c7a71bcc78465a28447ac1bb4 (patch) | |
| tree | 9b1a58a5069afbd52a1044537ce29483c21934f0 /LinBPQ.c | |
| parent | d09a1686084e26be230cbddc38a2b4f435975041 (diff) | |
| parent | d1c36fce6e52b94d2df9c0eb969c1d72947d1284 (diff) | |
Update upstream source from tag 'upstream/6.0.24.52+repack'
Update to upstream version '6.0.24.52+repack'
with Debian dir 0b34b91ce1e12fbb6ea021c31ba7daa6c49e3c49
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
|
