aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index b37c41d..29b93fd 100644
--- a/main.go
+++ b/main.go
@@ -2208,8 +2208,8 @@ func GetActorInstance(path string) (string, string) {
if(atFormat) {
match := re.FindStringSubmatch(path)
- if(len(match) > 1) {
- return match[1], match[2]
+ if(len(match) > 2) {
+ return match[2], match[3]
}
}