diff options
author | TingPing <tngpng@gmail.com> | 2013-05-17 06:10:02 -0300 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-05-17 06:10:02 -0300 |
commit | 78eb3e7522563092346d77f7f7ec912cfefb4357 (patch) | |
tree | 1929da091bd3220d97e0889cffdef4c02a16c497 | |
parent | 57b74c3de930351920c0248a6f1e24ddbda4a494 (diff) |
Handle limited channel messages
Maybe improved later to signify they are limited messages. closes #315
-rw-r--r-- | src/common/proto-irc.c | 4 |
1 files changed, 4 insertions, 0 deletions
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++; |