Rod Hynes 8 лет назад
Родитель
Сommit
baa89221f7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      psiphon/dataStore.go

+ 1 - 1
psiphon/dataStore.go

@@ -247,7 +247,7 @@ func StoreServerEntry(serverEntry *protocol.ServerEntry, replaceIfExists bool) e
 		}
 
 		exists := existingConfigurationVersion > -1
-		newer := exists && existingConfigurationVersion > serverEntry.ConfigurationVersion
+		newer := exists && existingConfigurationVersion < serverEntry.ConfigurationVersion
 		update := !exists || replaceIfExists || newer
 
 		if !update {