diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-06-09 21:48:39 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-06-09 21:48:39 +0100 |
| commit | 951f1d912a5cd1557caa3ef60becfd8f81b456a8 (patch) | |
| tree | 4c27b93342cad98504a685ddb2bfba4a22b716ef /MailRouting.c | |
| parent | 933e6c5b86d989cd13e9694fe53f910b5963c955 (diff) | |
New upstream version 6.0.24.38upstream/6.0.24.38
Diffstat (limited to 'MailRouting.c')
| -rw-r--r-- | MailRouting.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MailRouting.c b/MailRouting.c index b353cc5..6916f2c 100644 --- a/MailRouting.c +++ b/MailRouting.c @@ -817,14 +817,14 @@ VOID CheckAndSend(struct MsgInfo * Msg, CIRCUIT * conn, struct UserInfo * bbs) {
struct BBSForwardingInfo * ForwardingInfo = bbs->ForwardingInfo;
- if (ForwardToMe || _stricmp(bbs->Call, BBSName) != 0) // Dont forward to ourself - already here! (unless ForwardToMe set)
+ if (ForwardToMe || _stricmp(bbs->Call, BBSName) != 0) // Don't forward to ourself - already here! (unless ForwardToMe set)
{
if ((conn == NULL) || (!(conn->BBSFlags & BBS) || (_stricmp(conn->UserPointer->Call, bbs->Call) != 0))) // Dont send back
{
set_fwd_bit(Msg->fbbs, bbs->BBSNumber);
ForwardingInfo->MsgCount++;
if (ForwardingInfo->SendNew)
- ForwardingInfo->FwdTimer = ForwardingInfo->FwdInterval;
+ ForwardingInfo->FwdTimer = ForwardingInfo->FwdInterval - (2 + (rand() % 30)); //Short delay to prevent all starting at once
}
}
else
|
