diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-06-09 21:48:46 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-06-09 21:48:46 +0100 |
| commit | 3b36ba2a0634cf5f39e75f5054de6562e1ce29c9 (patch) | |
| tree | 47c3b90cbc690400a801d9b4f7c5fb8d48d19608 /MailRouting.c | |
| parent | ec1e97d9855423f0f9f386bb929f35cb44fb54e6 (diff) | |
| parent | 951f1d912a5cd1557caa3ef60becfd8f81b456a8 (diff) | |
Update upstream source from tag 'upstream/6.0.24.38'
Update to upstream version '6.0.24.38'
with Debian dir 05f0c663f1ee53dd2a7c1d3dae50dd42ace74c27
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
|
