~emersion/soju-dev

More explicit error message on INVITE with the wrong network v1 APPLIED

Hubert Hirtz: 1
 More explicit error message on INVITE with the wrong network

 1 files changed, 1 insertions(+), 1 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/12026/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] More explicit error message on INVITE with the wrong network Export this patch

---

Supersedes
"[PATCH 2/3] More explicit error messages on network mismatch"
from
<https://lists.sr.ht/~emersion/soju-dev/patches/12018>

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

diff --git a/downstream.go b/downstream.go
index 8863f28..18349a1 100644
--- a/downstream.go
+++ b/downstream.go
@@ -1539,7 +1539,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
		if ucChannel != ucUser {
			return ircError{&irc.Message{
				Command: irc.ERR_USERNOTINCHANNEL,
				Params:  []string{dc.nick, user, channel, "They aren't on that channel"},
				Params:  []string{dc.nick, user, channel, "They are on another network"},
			}}
		}
		uc := ucChannel
-- 
2.28.0
Pushed, thanks!