girc
girc copied to clipboard
:bomb: girc is a flexible IRC library for Go :ok_hand:
It appears that if a low-quality network connection (e.g. being behind a Whonix Tor transproxy) is being used, the `execLoop` and/or `sendLoop` goroutines aren't reliably being closed properly after a...
### π§ Describe the problem When calling Cmd.Message() with a message containing a newline, the newline is stripped, which smashes words together. ### β Expected behavior The newline should be...
Once I've solidified how I want https://github.com/lrstanley/ircdef to look, may want to look at moving to it for girc. Would definitely be a big change.
From [RFC 2812](https://tools.ietf.org/html/rfc2812#section-2.3): > IRC messages are always lines of characters terminated with a CR-LF (Carriage Return - Line Feed) pair, and these messages SHALL NOT exceed 512 characters in...
Followup to #42. /CC @nmeum @robbyoconnor @jwflory --------------------- Still a few TODOs: - Handle colors when splitting - Special treatment for URLs in word-boundary splitting - Prevent unneeded whitespace truncation...
Fix #63
Logic race condition, if the decode goroutine can run before the caller can, the channel returned might not have a receiver yet and then the select/default construct will drop the...
### π§ Describe the problem ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xb23397] goroutine 4248 [running]: github.com/lrstanley/girc.(*Client).readLoop(0xc000454a80, {0x1722cb8, 0xc0005704b0}) /home/allbery/go/pkg/mod/github.com/lrstanley/[email protected]/conn.go:440...
### π§ Describe the problem Following https://github.com/42wim/matterbridge/issues/2037 commit https://github.com/lrstanley/girc/commit/82409175c90805b876fef8a5be034d6a1c698ab8 causes matterbridge not connect to twitch.tv on irc protocol properly. Using matterbridge-1.26.0-linux-64bit and this config ``` [irc.tv] Password="mytokenwasreplacedofc" Nick="Somenick" Server="irc.chat.twitch.tv:6697" UseTLS=true...
### β¨ Describe the feature you'd like Ref: [IRCv3 `setname`](https://ircv3.net/specs/extensions/setname) #### Motivation > Historically, a userβs realname could only be set on the initial connection handshake. However, multiple IRC servers...
### β¨ Describe the feature you'd like Ref: [IRCv3 Standard Replies](https://ircv3.net/specs/extensions/standard-replies) #### Introduction > This document specifies the standard `FAIL`, `WARN`, and `NOTE` messages, intended to provide a clean, consistent...