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 3135 by michael, Mon Mar 10 21:11:25 2014 UTC vs.
Revision 3136 by michael, Tue Mar 11 18:24:03 2014 UTC

# Line 243 | Line 243 | hunt_server(struct Client *client_p, str
243      if (match(target_p->name, parv[server]))
244        parv[server] = target_p->name;
245  
246 +    /* This is a little kludgy but should work... */
247      sendto_one(target_p, command, ID_or_name(source_p, target_p),
248                 parv[1], parv[2], parv[3], parv[4],
249                 parv[5], parv[6], parv[7], parv[8]);
# Line 809 | Line 810 | server_estab(struct Client *client_p)
810  
811    fd_note(&client_p->localClient->fd, "Server: %s", client_p->name);
812  
813 <  /* Old sendto_serv_but_one() call removed because we now
814 <  ** need to send different names to different servers
815 <  ** (domain name matching) Send new server to other servers.
815 <  */
816 <  DLINK_FOREACH(ptr, serv_list.head)
817 <  {
818 <    target_p = ptr->data;
819 <
820 <    if (target_p == client_p)
821 <      continue;
822 <
823 <    sendto_one(target_p, ":%s SID %s 2 %s :%s%s",
824 <               me.id, client_p->name, client_p->id,
825 <               IsHidden(client_p) ? "(H) " : "",
826 <               client_p->info);
827 <  }
813 >  sendto_server(client_p, NOCAPS, NOCAPS, ":%s SID %s 2 %s :%s%s",
814 >                me.id, client_p->name, client_p->id,
815 >                IsHidden(client_p) ? "(H) " : "", client_p->info);
816  
817    /*
818     * Pass on my client information to the new server

Diff Legend

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