Improved client announcement
authorFederico G. Schwindt <fgsch@lodoss.net>
Sat, 3 Aug 2013 23:22:38 +0000 (00:22 +0100)
committerFederico G. Schwindt <fgsch@lodoss.net>
Sat, 3 Aug 2013 23:22:38 +0000 (00:22 +0100)
commit8e60fac73b791129b69d20c9e5b02ee1e89f6eaa
treee34271376ef007d39865dce957bcf4ee5e35f2bf
parent69ce65bacb0155be5fb9159a3dfc5c8e3390cc0d
Improved client announcement

Move Announce_User() to client.c and rename it to Client_Announce().
Use this in cb_introduceClient() instead of duplicating the code.
This fix the certificate fingerprint announcement for new clients.
Also ensure the certificate fingerprint is only announced if the
client supports it (`M' flag).
src/ngircd/client.c
src/ngircd/client.h
src/ngircd/numeric.c