srctree

Gregory Mullen parent e00e9e0d ee936609
detect a few more bots

todo write something more abstract

inlinesplit
src/user-agent.zig added: 2, removed: 1, total 1
@@ -42,6 +42,7 @@ pub const Resolved = union(enum) {
if (idx) |i| {
if (str.len == i + 3 or (str.len > i + 4 and (str[i + 3] == '/' or
str[i + 3] == '.' or
str[i + 3] == ';' or
str[i + 3] == ')')))
{
return asBot(str);