]> arthur.barton.de Git - ngircd-alex.git/commit
Fix server list announcement
authorTassilo Schweyer <dev@welterde.de>
Sat, 25 Apr 2009 22:23:40 +0000 (00:23 +0200)
committerFlorian Westphal <fw@strlen.de>
Sat, 25 Apr 2009 22:30:49 +0000 (00:30 +0200)
commit37359799eba5233958b8b6fe665928c4e3c64889
treef19d3d82acfb455344f2aabc96fd003182030097
parent4a14fb252d1eb93905eb1dc71a11601acadf66d3
Fix server list announcement

When ngircd announces the list of currently known servers
to a new (connecting) server, it sent the introducer of
the servers instead of the top server.

Assuming this network:

irc1.example.com
|--irc2.example.com
|    `--irc3.example.com
|         `--irc4.example.com
`--irc5.example.com

When irc4 connects to irc3, irc3 tells irc4 that irc5 was
connected to irc2. (irc2 had introduced irc5 to irc3; but thats
not what ngircd should have sent to the new server).

This also placed users on the wrong servers.
src/ngircd/numeric.c