[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #41640] [PATCH] irc_message_parse requires '!' in pre

From: Felix Eckhofer
Subject: [Weechat-dev] [bug #41640] [PATCH] irc_message_parse requires '!' in prefix
Date: Wed, 19 Feb 2014 18:35:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.102 Chrome/32.0.1700.102 Safari/537.36


                 Summary: [PATCH] irc_message_parse requires '!' in prefix
                 Project: WeeChat
            Submitted by: tribut
            Submitted on: Wed 19 Feb 2014 06:35:51 PM GMT
                Category: irc plugin
                Severity: 3 - Normal
              Item Group: irc protocol
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.4.4-dev
                IRC nick: vendor



Both RFC1459 and RFC2812 allow the prefix in an IRC message to only contain
nick and host, such as ":address@hidden PRIVMSG #weechat :foo". 
will in this case use "address@hidden" as nick instead of just "nick".

Reference (from RFC2812):

message    =  [ ":" prefix SPACE ] command [ params ] crlf
prefix     =  servername / ( nickname [ [ "!" user ] "@" host ] )

See the attached patch for my proposed fix. Alternatively, feel free to merge
the parse-privmsg branch from my repository at



File Attachments:

Date: Wed 19 Feb 2014 06:35:51 PM GMT  Name:
0001-irc-make-optional-in-message-prefix.patch  Size: 987B   By: tribut



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]