More explicit error message on INVITE with the wrong network

This commit is contained in:
Hubert Hirtz 2020-08-20 08:48:16 +02:00 committed by Simon Ser
parent a636b92a95
commit a27e5ea92e
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

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