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

Comparing ircd-hybrid/trunk/src/s_serv.c (file contents):
Revision 1877 by michael, Sat Apr 27 10:26:51 2013 UTC vs.
Revision 1971 by michael, Wed May 8 18:31:55 2013 UTC

# Line 893 | Line 893 | server_estab(struct Client *client_p)
893          sendto_one(client_p, ":%s SERVER %s %d :%s%s",
894                     ID(target_p->servptr), target_p->name, target_p->hopcount+1,
895                     IsHidden(target_p) ? "(H) " : "", target_p->info);
896 +      if (HasFlag(target_p, FLAGS_EOB))
897 +        sendto_one(client_p, ":%s EOB", target_p->name);
898      }
899      else
900 +    {
901        sendto_one(client_p, ":%s SERVER %s %d :%s%s",
902                   target_p->servptr->name, target_p->name, target_p->hopcount+1,
903                   IsHidden(target_p) ? "(H) " : "", target_p->info);
904 +      if (HasFlag(target_p, FLAGS_EOB))
905 +        sendto_one(client_p, ":%s EOB", target_p->name);
906 +    }
907    }
908  
909    server_burst(client_p);
# Line 968 | Line 974 | burst_all(struct Client *client_p)
974      DelFlag(target_p, FLAGS_BURSTED);
975    }
976  
971  /* We send the time we started the burst, and let the remote host determine an EOB time,
972  ** as otherwise we end up sending a EOB of 0   Sending here means it gets sent last -- fl
973  */
974  /* Its simpler to just send EOB and use the time its been connected.. --fl_ */
977    if (IsCapable(client_p, CAP_EOB))
978      sendto_one(client_p, ":%s EOB", ID_or_name(&me, client_p));
979   }

Diff Legend

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