mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Change case of local versionable_properties
to match precedence.
This commit is contained in:
4
init/msm
4
init/msm
@ -1747,7 +1747,7 @@ server_set_property() {
|
|||||||
# $1: The ID of the server
|
# $1: The ID of the server
|
||||||
# $2: The name of the server property
|
# $2: The name of the server property
|
||||||
server_property() {
|
server_property() {
|
||||||
local VERSIONABLE_PROPERTIES="LOG_PATH;WHITELIST_PATH;BANNED_PLAYERS_PATH;BANNED_IPS_PATH;OPS_PATH OPS_LIST;"
|
local versionable_properties="LOG_PATH;WHITELIST_PATH;BANNED_PLAYERS_PATH;BANNED_IPS_PATH;OPS_PATH OPS_LIST;"
|
||||||
|
|
||||||
# Do nothing if we want to load a property handled
|
# Do nothing if we want to load a property handled
|
||||||
# by a versioning file that is already loaded.
|
# by a versioning file that is already loaded.
|
||||||
@ -1812,7 +1812,7 @@ server_property() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# If its a command lookup or server path, load from versioning files
|
# If its a command lookup or server path, load from versioning files
|
||||||
if [[ "$2" =~ ^CONSOLE_ ]] || [[ "$VERSIONABLE_PROPERTIES" == *"$2;"* ]]; then
|
if [[ "$2" =~ ^CONSOLE_ ]] || [[ "$versionable_properties" == *"$2;"* ]]; then
|
||||||
server_property "$1" VERSION_CONF
|
server_property "$1" VERSION_CONF
|
||||||
|
|
||||||
if [[ -f "${SERVER_VERSION_CONF[$1]}" ]]; then
|
if [[ -f "${SERVER_VERSION_CONF[$1]}" ]]; then
|
||||||
|
Reference in New Issue
Block a user