summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-08 18:31:11 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-08 18:31:11 +0000
commit789887821b6734617d086433c5d874e77b8a374d (patch)
treee3b3de1e23662e8146b09d04a624870017479995 /src
parentb5a2c7f70fbbe1e776ac0c9c4cbc0411bc5c6633 (diff)
- EOB is now send to all servers globally
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1970 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/s_serv.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/s_serv.c b/src/s_serv.c
index 7ff94d6..bc89cb0 100644
--- a/src/s_serv.c
+++ b/src/s_serv.c
@@ -893,11 +893,17 @@ server_estab(struct Client *client_p)
sendto_one(client_p, ":%s SERVER %s %d :%s%s",
ID(target_p->servptr), target_p->name, target_p->hopcount+1,
IsHidden(target_p) ? "(H) " : "", target_p->info);
+ if (HasFlag(target_p, FLAGS_EOB))
+ sendto_one(client_p, ":%s EOB", target_p->name);
}
else
+ {
sendto_one(client_p, ":%s SERVER %s %d :%s%s",
target_p->servptr->name, target_p->name, target_p->hopcount+1,
IsHidden(target_p) ? "(H) " : "", target_p->info);
+ if (HasFlag(target_p, FLAGS_EOB))
+ sendto_one(client_p, ":%s EOB", target_p->name);
+ }
}
server_burst(client_p);
@@ -968,10 +974,6 @@ burst_all(struct Client *client_p)
DelFlag(target_p, FLAGS_BURSTED);
}
- /* We send the time we started the burst, and let the remote host determine an EOB time,
- ** as otherwise we end up sending a EOB of 0 Sending here means it gets sent last -- fl
- */
- /* Its simpler to just send EOB and use the time its been connected.. --fl_ */
if (IsCapable(client_p, CAP_EOB))
sendto_one(client_p, ":%s EOB", ID_or_name(&me, client_p));
}