From 161f61fd6b249b088085397c5be4beda41af0a68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=ADle=20Ekaterin=20Aman?= <sheila@vulpine.house>
Date: Thu, 26 May 2022 19:49:46 -0700
Subject: [PATCH] bug.pl: reduce misfires

---
 scripts/autorun/bug.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/autorun/bug.pl b/scripts/autorun/bug.pl
index 2d9cf05..684f80f 100644
--- a/scripts/autorun/bug.pl
+++ b/scripts/autorun/bug.pl
@@ -48,6 +48,8 @@ sub url_process {
     if ((grep {uc($nick) eq uc($_) } @nickblock) || ($text =~ /nobug/) || ($text =~ /^[!.\$][a-z]+/i)) {
         return;
     }
+    # avoid firing on uname output.
+    $text =~ s/#\d SMP//;
 
     $handler->parse($text, $on_info, $src, $errors);
 }
-- 
GitLab