diff options
author | Justin Clark-Casey (justincc) | 2010-01-29 21:52:13 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-01-29 21:52:13 +0000 |
commit | 7b53067d6d503fd3d94a4a0ab3955071ef96669c (patch) | |
tree | dc8996f909837fb7a2e70a1904cabee18dfa4985 /OpenSim | |
parent | use common sop2 setup for TestMergeOarV0_2() (diff) | |
download | opensim-SC_OLD-7b53067d6d503fd3d94a4a0ab3955071ef96669c.zip opensim-SC_OLD-7b53067d6d503fd3d94a4a0ab3955071ef96669c.tar.gz opensim-SC_OLD-7b53067d6d503fd3d94a4a0ab3955071ef96669c.tar.bz2 opensim-SC_OLD-7b53067d6d503fd3d94a4a0ab3955071ef96669c.tar.xz |
Apply http://opensimulator.org/mantis/view.php?id=4548
Fix command params check on fcache expire <datetime>
Thanks coyled
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index adcf6bd..9216e0b 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |||
@@ -762,7 +762,7 @@ namespace Flotsam.RegionModules.AssetCache | |||
762 | case "expire": | 762 | case "expire": |
763 | 763 | ||
764 | 764 | ||
765 | if (cmdparams.Length >= 3) | 765 | if (cmdparams.Length < 3) |
766 | { | 766 | { |
767 | m_log.InfoFormat("[FLOTSAM ASSET CACHE] Invalid parameters for Expire, please specify a valid date & time", cmd); | 767 | m_log.InfoFormat("[FLOTSAM ASSET CACHE] Invalid parameters for Expire, please specify a valid date & time", cmd); |
768 | break; | 768 | break; |