Disable whitelist server property when WHITELIST empty and overriding

#806
This commit is contained in:
Geoff Bourne 2021-03-21 10:12:35 -05:00
parent a2132292ac
commit d695fc3fbc

View file

@ -31,6 +31,10 @@ function customizeServerProps {
log "Creating whitelist"
setServerProp "whitelist" "true"
setServerProp "white-list" "true"
else
log "Disabling whitelist"
setServerProp "whitelist" "false"
setServerProp "white-list" "false"
fi
# If not provided, generate a reasonable default message-of-the-day,