# | Line 410 | Line 410 | sendto_channel_butone(struct Client *one | |
---|---|---|
410 | ||
411 | local_buf = dbuf_alloc(), remote_buf = dbuf_alloc(); | |
412 | ||
413 | < | if (IsServer(from)) |
414 | < | dbuf_put_fmt(local_buf, ":%s ", from->name); |
415 | < | else |
413 | > | if (IsClient(from)) |
414 | dbuf_put_fmt(local_buf, ":%s!%s@%s ", from->name, from->username, from->host); | |
415 | + | else |
416 | + | dbuf_put_fmt(local_buf, ":%s ", from->name); |
417 | ||
418 | dbuf_put_fmt(remote_buf, ":%s ", from->id); | |
419 |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |