~emersion/soju-dev

downstream: handle name=... in BOUNCER v1 APPLIED

Alexey Yerin: 1
 downstream: handle name=... in BOUNCER

 1 files changed, 2 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/soju-dev/patches/25684/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] downstream: handle name=... in BOUNCER Export this patch

---
 downstream.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/downstream.go b/downstream.go
index 5493add..ef1e9e2 100644
--- a/downstream.go
+++ b/downstream.go
@@ -2346,6 +2346,8 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
				s := string(v)
				switch k {
				// TODO: host, port, tls
				case "name":
					record.Name = s
				case "nickname":
					record.Nick = s
				case "username":
-- 
2.33.0
LGTM. Pushed, thanks!