commit:     242113aa6a719477ddf8246ed9a6104f2b7b9d63
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 19:22:07 2024 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 19:22:07 2024 +0000
URL:        https://gitweb.gentoo.org/proj/rbot-bugzilla.git/commit/?id=242113aa

fix: missing field

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 bugzilla.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bugzilla.rb b/bugzilla.rb
index a4d88f5..8af205a 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -566,7 +566,7 @@ class BugzillaPlugin < Plugin
     # bug aliases can contain
     # 0-9, a-z, A-Z
     # and then every punctuation except ","
-    m.scan(MESSAGE_RE).each do |bug_comment|
+    m.message.scan(MESSAGE_RE).each do |bug_comment|
       bugno = bug_comment[0]
       comment = bug_comment[1] || ""
       bugno.gsub!(/^#/,'')

Reply via email to