aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base/ServerUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Base/ServerUtils.cs')
-rw-r--r--OpenSim/Server/Base/ServerUtils.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs
index b020215..a21287a 100644
--- a/OpenSim/Server/Base/ServerUtils.cs
+++ b/OpenSim/Server/Base/ServerUtils.cs
@@ -227,8 +227,9 @@ namespace OpenSim.Server.Base
227 // The path for a dynamic plugin will contain ":" on Windows 227 // The path for a dynamic plugin will contain ":" on Windows
228 string[] parts = dllName.Split (new char[] {':'}); 228 string[] parts = dllName.Split (new char[] {':'});
229 229
230 if (parts [0].Length > 1) 230 if (parts.Length < 3)
231 { 231 {
232 // Linux. There will be ':' but the one we're looking for
232 dllName = parts [0]; 233 dllName = parts [0];
233 if (parts.Length > 1) 234 if (parts.Length > 1)
234 className = parts[1]; 235 className = parts[1];