diff --git a/cfg/configParser.go b/cfg/configParser.go index 89f90aa..e8eaf75 100644 --- a/cfg/configParser.go +++ b/cfg/configParser.go @@ -38,7 +38,7 @@ func ParseConfig(valuesRequested [][2]string) ([]string, error) { config = append(config, value) // notify requester immediately if in offline mode - if pair[0] == "LIBMUTTON" && pair[1] == "offlineMode" && value == "true" { + if pair[1] == "offlineMode" && pair[0] == "LIBMUTTON" && value == "true" { return config, nil } }