Do not send topic change to channel

This commit is contained in:
Dionysus 2023-05-31 22:19:05 -04:00
parent 683adb6a3c
commit 0e6b544844
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 2 additions and 3 deletions

View File

@ -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);
}