summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2004-12-07 17:02:40 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-12-07 17:02:40 +0000
commit2ffae72fc0a74df1c25acbc81fe0640bdcfdbef3 (patch)
tree340d27f8d811e9021237ddbcf69237c02fcfe3e1
parent71221528adf456b7440b370c05a91ecfa30d988d (diff)
downloadirssi-2ffae72fc0a74df1c25acbc81fe0640bdcfdbef3.zip
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
-rw-r--r--src/irc/proxy/dump.c4
1 files changed, 4 insertions, 0 deletions
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);
}
}