From cc3de0cb5a5904212d268da1baf5564d22308a95 Mon Sep 17 00:00:00 2001 From: Distortions81 Date: Fri, 22 Dec 2023 19:25:58 -0700 Subject: [PATCH] auto-disable membersonly if in regulars mode --- cfg/lcfg.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cfg/lcfg.go b/cfg/lcfg.go index 44ea46a2..e4f19acc 100644 --- a/cfg/lcfg.go +++ b/cfg/lcfg.go @@ -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