diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-12-03 00:27:57 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-12-03 00:27:57 +0000 |
| commit | 96c573931d40b6b191614c96299d66ca6217d1d8 (patch) | |
| tree | f5673406ce7bf25a975179a903f2ca661bcba7b7 /LinBPQ.c | |
| parent | 697fde312336b04129289ed268043e641ef284cb (diff) | |
New upstream version 6.0.24.53+repackupstream/6.0.24.53+repack
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
|
