More explicit error message on KICK with the wrong network

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

View File

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