More explicit error message on INVITE with the wrong network
This commit is contained in:
parent
a636b92a95
commit
a27e5ea92e
@ -1540,7 +1540,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