1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

If available, send who set topic and when to irssi-proxy clients

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3690 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Wouter Coekaerts 2004-12-07 17:02:40 +00:00 committed by coekie
parent 71221528ad
commit 2ffae72fc0

View File

@ -201,6 +201,10 @@ static void dump_join(IRC_CHANNEL_REC *channel, CLIENT_REC *client)
proxy_outdata(client, ":%s 332 %s %s :%s\n",
client->proxy_address, client->nick,
channel->name, recode_out(channel->topic, channel->name));
if (channel->topic_time > 0)
proxy_outdata(client, ":%s 333 %s %s %s %d\n",
client->proxy_address, client->nick,
channel->name, channel->topic_by, channel->topic_time);
}
}