summary refs log tree commit diff stats
path: root/src/common/proto-irc.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-08-07 06:14:30 -0400
committerTingPing <tingping@tingping.se>2013-08-07 06:14:30 -0400
commit13bfd060b6bb74b083ed7917e03d875d90d7d339 (patch)
tree93d820d4dc30a772dea6b570d43f0cb494616b96 /src/common/proto-irc.c
parent1370a49742389c205bb4b912829ae6c6747579c0 (diff)
Format Channel URLs
closes #706
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r--src/common/proto-irc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index 128c0c85..642cd056 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -678,6 +678,15 @@ process_numeric (session * sess, int n,
 		handle_mode (serv, word, word_eol, "", TRUE, tags_data);
 		break;
 
+	case 328: /* channel url */
+		sess = find_channel (serv, word[4]);
+		if (sess)
+		{
+			EMIT_SIGNAL_TIMESTAMP (XP_TE_CHANURL, sess, word[4], word[5] + 1,
+									NULL, NULL, 0, tags_data->timestamp); 
+		}
+		break;
+
 	case 329:
 		sess = find_channel (serv, word[4]);
 		if (sess)