More explicit error message on KICK with the wrong network
This commit is contained in:
parent
385825d010
commit
a636b92a95
@ -1121,7 +1121,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
|||||||
if ucChannel != ucUser {
|
if ucChannel != ucUser {
|
||||||
return ircError{&irc.Message{
|
return ircError{&irc.Message{
|
||||||
Command: irc.ERR_USERNOTINCHANNEL,
|
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
|
uc := ucChannel
|
||||||
|
Loading…
Reference in New Issue
Block a user