[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 |
URL:
<http://savannah.nongnu.org/bugs/?41640>
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
_______________________________________________________
Details:
Both RFC1459 and RFC2812 allow the prefix in an IRC message to only contain
nick and host, such as ":address@hidden PRIVMSG #weechat :foo".
irc_message_parse
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
https://github.com/tribut/weechat.git
Thanks!
_______________________________________________________
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
<http://savannah.nongnu.org/bugs/download.php?file_id=30608>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41640>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Weechat-dev] [bug #41640] [PATCH] irc_message_parse requires '!' in prefix,
Felix Eckhofer <=