965 |
|
send_umode(NULL, source_p, old, SEND_UMODES, buf); |
966 |
|
|
967 |
|
if (buf[0]) |
968 |
< |
{ |
969 |
< |
DLINK_FOREACH(ptr, serv_list.head) |
970 |
< |
{ |
971 |
< |
struct Client *target_p = ptr->data; |
972 |
< |
|
973 |
< |
if ((target_p != client_p) && (target_p != source_p)) |
974 |
< |
sendto_one(target_p, ":%s MODE %s :%s", |
975 |
< |
ID_or_name(source_p, target_p), |
976 |
< |
ID_or_name(source_p, target_p), buf); |
977 |
< |
} |
978 |
< |
} |
968 |
> |
sendto_server(source_p, NOCAPS, NOCAPS, ":%s MODE %s :%s", |
969 |
> |
ID(source_p), ID(source_p), buf); |
970 |
|
|
971 |
|
if (client_p && MyClient(client_p)) |
972 |
|
send_umode(client_p, source_p, old, 0xffffffff, buf); |