Skip to content

Conversation

belak
Copy link
Member

@belak belak commented Aug 18, 2016

This should close #34

@belak
Copy link
Member Author

belak commented Aug 18, 2016

This implements support for http://ircv3.net/specs/core/message-tags-3.2.html

var tagDecodeSlashMap = map[rune]rune{
':': ';',
's': ' ',
'\\': '\\',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't follow this, why switch from the same character to itself?

Copy link
Member Author

@belak belak Aug 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so \\ will decode to \ (tagDecodeSlashMap refers to the character that comes after a slash).

@belak belak merged commit 21bc85a into master Aug 19, 2016
@belak belak deleted the belak/irc-v3-tags branch August 19, 2016 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for IRCv3 message tags

2 participants