summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/proto-irc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index cb4db0cd..ec4a36a3 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -1321,6 +1321,10 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[])
 				{
 					tcp_send_len (serv, "CAP END\r\n", 9);
 				}
+				else if (strncasecmp (word[4], "LIST", 4) == 0)	
+				{
+					EMIT_SIGNAL (XP_TE_CAPACK, sess->server->server_session, word[1], word[5][0]==':' ? ++word_eol[5] : word_eol[5], NULL, NULL, 0);
+				}
 
 				return;
 		}