diff --git a/main.go b/main.go index d1e59bc..3c62652 100644 --- a/main.go +++ b/main.go @@ -187,10 +187,10 @@ func GetCommand(body, from, dir string) string { } func Strip(s, s2 *string) { - strip, _ := regexp.Compile("(`|\\$|\\.\\.)") - q, _ := regexp.Compile("(\"|')") - *s = q.ReplaceAllString(strip.ReplaceAllString(*s, ""),"“") - *s2 = q.ReplaceAllString(strip.ReplaceAllString(*s2, ""),"“") + strip, _ := regexp.Compile("(`|\\$|\\.\\.)") + q, _ := regexp.Compile("(\"|')") + *s = q.ReplaceAllString(strip.ReplaceAllString(*s, ""), "“") + *s2 = q.ReplaceAllString(strip.ReplaceAllString(*s2, ""), "“") } func GetNick(s string) string {