diff options
author | Melanie | 2012-03-27 23:11:06 +0100 |
---|---|---|
committer | Melanie | 2012-03-27 23:11:06 +0100 |
commit | 37603ca6dac88b98dcb0eba058531f29cd0fc316 (patch) | |
tree | 3ace34013d7c061bfc3bce46f36a8d7de21ffa3e | |
parent | Let grided simulators retrieve the user's inventory skeleton (diff) | |
download | opensim-SC_OLD-37603ca6dac88b98dcb0eba058531f29cd0fc316.zip opensim-SC_OLD-37603ca6dac88b98dcb0eba058531f29cd0fc316.tar.gz opensim-SC_OLD-37603ca6dac88b98dcb0eba058531f29cd0fc316.tar.bz2 opensim-SC_OLD-37603ca6dac88b98dcb0eba058531f29cd0fc316.tar.xz |
Reverse a conditional in XInventory that made updating system folder evrsion numbers impossible
-rw-r--r-- | OpenSim/Services/InventoryService/XInventoryService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs index 8c57d17..7b2c3a6 100644 --- a/OpenSim/Services/InventoryService/XInventoryService.cs +++ b/OpenSim/Services/InventoryService/XInventoryService.cs | |||
@@ -318,7 +318,7 @@ namespace OpenSim.Services.InventoryService | |||
318 | 318 | ||
319 | if (check.Type != -1 || xFolder.type != -1) | 319 | if (check.Type != -1 || xFolder.type != -1) |
320 | { | 320 | { |
321 | if (xFolder.version > check.Version) | 321 | if (xFolder.version < check.Version) |
322 | return false; | 322 | return false; |
323 | check.Version = (ushort)xFolder.version; | 323 | check.Version = (ushort)xFolder.version; |
324 | xFolder = ConvertFromOpenSim(check); | 324 | xFolder = ConvertFromOpenSim(check); |