Skip to content

Commit

Permalink
auto-disable membersonly if in regulars mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Distortions81 committed Dec 23, 2023
1 parent 967a219 commit cc3de0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cfg/lcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ func ReadLCfg() bool {
newcfg.Options.MembersOnly = true
newcfg.Options.Whitelist = false
}
if newcfg.Options.RegularsOnly {
newcfg.Options.MembersOnly = false
}

if newcfg.Options.RegularsOnly {
ServerPrefix = constants.RegularsPrefix
Expand Down

0 comments on commit cc3de0c

Please sign in to comment.