feat(botfilter): add appendReason

This commit is contained in:
hoelee committed 2026-05-07 08:51:00 +08:00
1 parent 6d94ec9b77
commit ba0e60c61d
1 file changed
+6
+6
View File
@@ -133,3 +133,9 @@ func implausibleBrowser(r *http.Request, userAgent string) bool {
return false
}
func appendReason(current, next string) string {
if current == "" {
return next
}
return current + "; " + next
}