]> arthur.barton.de Git - ngircd-alex.git/commit
Refactor join_send_topic() into IRC_Send_Channel_Info() and use it for JOIN and NJOIN... bug288-Send-NAMES-TOPIC-to-NJOINed-users
authorAlexander Barton <alex@barton.de>
Mon, 26 Dec 2022 16:38:10 +0000 (17:38 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 27 Dec 2022 15:42:06 +0000 (16:42 +0100)
commit55744b1863107a2f54a5e7c974d797fef9720af9
tree50032ea0f9b6ebf036bca297bc5924c1e9f69f8a
parent5ef1a657f49d983f442eefb6ccf5474dc02ba3f5
Refactor join_send_topic() into IRC_Send_Channel_Info() and use it for JOIN and NJOIN handlers

This reduces code duplication and brings the order of messages on JOIN
and NJOIN in line.

Fixes #288.
src/ngircd/irc-channel.c
src/ngircd/irc-channel.h
src/ngircd/irc-server.c