More explicit error message on INVITE with the wrong network

git-svn-id: file:///srv/svn/repo/suika/trunk@401 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
hubert 2020-08-20 07:13:38 +00:00
parent da24989ccf
commit f95079a5b7

View File

@ -1540,7 +1540,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