aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-30 00:36:31 -0800
committerFChannel <=>2021-01-30 00:36:31 -0800
commit2fdaf020b1d952a9c86863c380affceb9ac09c61 (patch)
tree8d9fea8fefabab49d10ec0abe216aa8e4e72269c /main.go
parent99ac742cafab11131ba53bf3d64105cfba48f6bb (diff)
trip code name support
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 30f3430..e4cf856 100644
--- a/main.go
+++ b/main.go
@@ -926,7 +926,7 @@ func CreateNameTripCode(input string) string {
re := regexp.MustCompile("#.+")
chunck := re.FindString(input)
hash := CreateTripCode(chunck)
- return re.ReplaceAllString(input, hash[0:8])
+ return re.ReplaceAllString(input, "!" + hash[42:50])
}
func GetActorFromPath(db *sql.DB, location string, prefix string) Actor {