From 78eb3e7522563092346d77f7f7ec912cfefb4357 Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 17 May 2013 06:10:02 -0300 Subject: [PATCH] Handle limited channel messages Maybe improved later to signify they are limited messages. closes #315 --- src/common/proto-irc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index 165478cf..53916484 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -1131,6 +1131,10 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[]) int id = FALSE; /* identified */ if (*to) { + /* Handle limited channel messages, for now no special event */ + if (strchr (serv->nick_prefixes, to[0]) != NULL) + to++; + text = word_eol[4]; if (*text == ':') text++;