From 2ffae72fc0a74df1c25acbc81fe0640bdcfdbef3 Mon Sep 17 00:00:00 2001 From: Wouter Coekaerts Date: Tue, 7 Dec 2004 17:02:40 +0000 Subject: [PATCH] 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 --- src/irc/proxy/dump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/irc/proxy/dump.c b/src/irc/proxy/dump.c index 135fd366..2777e971 100644 --- a/src/irc/proxy/dump.c +++ b/src/irc/proxy/dump.c @@ -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); } }