From 0e6b5448445e75f78137b0e9dfdc8b91dae66b20 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Wed, 31 May 2023 22:19:05 -0400 Subject: [PATCH] Do not send topic change to channel --- src/modules/topic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/topic.c b/src/modules/topic.c index 66fb8ea..6947543 100644 --- 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); }