unrealircd- supernets unrealircd source & configuration |
git clone git://git.acid.vegas/unrealircd.git |
Log | Files | Refs | Archive | README | LICENSE |
commit 0e6b5448445e75f78137b0e9dfdc8b91dae66b20
parent 683adb6a3cd6d38f22e2d5a68610eb7b61fd06ee Author: acidvegas <acid.vegas@acid.vegas> Date: Wed, 31 May 2023 22:19:05 -0400 Do not send topic change to channel Diffstat:
|
1 file changed, 2 insertions(+), 3 deletions(-) |
diff --git a/src/modules/topic.c b/src/modules/topic.c @@ -312,8 +312,7 @@ void _set_channel_topic(Client *client, Channel *channel, MessageTag *recv_mtags sendto_server(client, 0, 0, mtags, ":%s TOPIC %s %s %lld :%s", client->id, channel->name, channel->topic_nick, (long long)channel->topic_time, channel->topic); - sendto_channel(channel, client, NULL, 0, 0, SEND_LOCAL, mtags, - ":%s TOPIC %s :%s", - client->name, channel->name, channel->topic); + // EXPERIMENTAL - have not tried this + //sendto_channel(channel, client, NULL, 0, 0, SEND_LOCAL, mtags, ":%s TOPIC %s :%s", client->name, channel->name, channel->topic); free_message_tags(mtags); } |