OSDN Git Service

RAD-429: RLV @getinv not parsed correctly
authorLatif Khalifa <latifer@streamgrid.net>
Mon, 20 May 2013 19:37:13 +0000 (21:37 +0200)
committerLatif Khalifa <latifer@streamgrid.net>
Mon, 20 May 2013 19:37:13 +0000 (21:37 +0200)
Radegast/Core/RLV/RLVManager.cs

index bf78823..129604d 100644 (file)
@@ -853,7 +853,7 @@ namespace Radegast
             {
                 if (n.Data.Name.StartsWith(".")) continue;
 
-                var res = FindFolderInternal(n, currentPath + n.Data.Name.ToLower(), desiredPath);
+                var res = FindFolderInternal(n, (currentPath == "/" ? currentPath : currentPath + "/") + n.Data.Name.ToLower(), desiredPath);
                 if (res != null)
                 {
                     return res;