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]); |
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 |