src/protocols/irc/cmds.c

changeset 9762
125f77c00102
parent 9440
4415b7348579
child 10208
b6cafee18b0d
--- a/src/protocols/irc/cmds.c	Sun Aug 15 23:28:09 2004 +0000
+++ b/src/protocols/irc/cmds.c	Mon Aug 16 01:14:58 2004 +0000
@@ -444,9 +444,12 @@
 		topic = gaim_conv_chat_get_topic (GAIM_CONV_CHAT(convo));
 
 		if (topic) {
-			char *tmp = gaim_escape_html(topic);
-			buf = g_strdup_printf(_("current topic is: %s"), tmp);
+			char *tmp, *tmp2;
+			tmp = gaim_escape_html(topic);
+			tmp2 = gaim_markup_linkify(tmp);
+			buf = g_strdup_printf(_("current topic is: %s"), tmp2);
 			g_free(tmp);
+			g_free(tmp2);
 		} else
 			buf = g_strdup(_("No topic is set"));
 		gaim_conv_chat_write(GAIM_CONV_CHAT(convo), target, buf, GAIM_MESSAGE_SYSTEM|GAIM_MESSAGE_NO_LOG, time(NULL));

mercurial