More explicit error message on KICK with the wrong network

git-svn-id: file:///srv/svn/repo/suika/trunk@400 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
hubert 2020-08-19 21:57:25 +00:00
parent 5f7e385a0e
commit da24989ccf

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