ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/src/server.c
(Generate patch)

Comparing ircd-hybrid/src/server.c (file contents):
Revision 773 by adx, Wed Aug 23 00:06:08 2006 UTC vs.
Revision 776 by adx, Wed Aug 23 13:53:34 2006 UTC

# Line 1309 | Line 1309 | server_burst(struct Client *client_p)
1309    */
1310    burst_all(client_p);
1311  
1312 <  /* EOB stuff is now in burst_all */
1312 >  /* We send the time we started the burst, and let the remote host determine an EOB time,
1313 >  ** as otherwise we end up sending a EOB of 0   Sending here means it gets sent last -- fl
1314 >  */
1315 >  /* Its simpler to just send EOB and use the time its been connected.. --fl_ */
1316 >  if (IsCapable(client_p, CAP_EOB))
1317 >    sendto_one(client_p, ":%s EOB", ID_or_name(&me, client_p));
1318 >
1319    /* Always send a PING after connect burst is done */
1320    sendto_one(client_p, "PING :%s", ID_or_name(&me, client_p));
1321   }
# Line 1325 | Line 1331 | burst_all(struct Client *client_p)
1331   {
1332    dlink_node *ptr;
1333    struct ConnectConf *conf = client_p->serv->sconf;
1334 +  struct Client *target_p;
1335  
1336    /* Pass on my client information to the new server
1337    **
# Line 1391 | Line 1398 | burst_all(struct Client *client_p)
1398     */
1399    DLINK_FOREACH(ptr, global_client_list.head)
1400    {
1401 <    struct Client *target_p = ptr->data;
1401 >    target_p = ptr->data;
1402  
1403      if (!IsBursted(target_p) && target_p->from != client_p)
1404        sendnick_TS(client_p, target_p);
1405      
1406      ClearBursted(target_p);
1407    }
1401
1402  /* We send the time we started the burst, and let the remote host determine an EOB time,
1403  ** as otherwise we end up sending a EOB of 0   Sending here means it gets sent last -- fl
1404  */
1405  /* Its simpler to just send EOB and use the time its been connected.. --fl_ */
1406  if (IsCapable(client_p, CAP_EOB))
1407    sendto_one(client_p, ":%s EOB", ID_or_name(&me, client_p));
1408   }
1409  
1410   /*

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)