|
@@ -692,7 +692,7 @@ func (channel *Channel) Join(client *Client, key string, isSajoin bool, rb *Resp
|
692
|
692
|
}
|
693
|
693
|
|
694
|
694
|
if !hasPrivs && channel.flags.HasMode(modes.RegisteredOnly) && details.account == "" && !isInvited {
|
695
|
|
- rb.Add(nil, client.server.name, ERR_BANNEDFROMCHAN, details.nick, chname, client.t("You must be registered to join that channel"))
|
|
695
|
+ rb.Add(nil, client.server.name, ERR_NEEDREGGEDNICK, details.nick, chname, client.t("You must be registered to join that channel"))
|
696
|
696
|
return
|
697
|
697
|
}
|
698
|
698
|
|