1
0
Fork 0
forked from External/ergo

review fix

This commit is contained in:
Shivaram Lingamneni 2020-07-09 04:33:09 -04:00
parent 6ea2eb367d
commit 8dd25f66bc
3 changed files with 7 additions and 3 deletions

View file

@ -707,7 +707,7 @@ func (channel *Channel) Join(client *Client, key string, isSajoin bool, rb *Resp
}
if details.account == "" &&
(channel.flags.HasMode(modes.RegisteredOnly) || channel.server.Defcon() <= 3) {
(channel.flags.HasMode(modes.RegisteredOnly) || channel.server.Defcon() <= 2) {
return errRegisteredOnly
}
}