4
mirror of git://git.acid.vegas/unrealircd.git synced 2024-11-27 02:16:39 +00:00

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

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