summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}
}