~emersion/soju-dev

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

Hubert Hirtz: 1
 More explicit error message on KICK 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/12004/mbox | git am -3
Learn more about email & git
View this thread in the archives

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

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

diff --git a/downstream.go b/downstream.go
index 9ccb00a..c844eff 100644
--- a/downstream.go
+++ b/downstream.go
@@ -1117,7 +1117,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!