Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: dato@net.com.org.es (Adeodato Simó)
Subject: [sup-talk] [PATCH] Unbreak "bounce-command" hook (was referencing an nonexistent variable)
Date: Sat, 11 Jul 2009 13:57:55 +0200	[thread overview]
Message-ID: <ef3825cbc25db1005616823980a339827c9db65e.1247313450.git.dato@net.com.org.es> (raw)

Signed-off-by: Adeodato Sim? <dato at net.com.org.es>
---
 lib/sup/modes/thread-view-mode.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
index 759191e..737f6f1 100644
--- a/lib/sup/modes/thread-view-mode.rb
+++ b/lib/sup/modes/thread-view-mode.rb
@@ -204,7 +204,7 @@ EOS
       end
     end
 
-    cmd = case HookManager.run "bounce-command", :from => m.from, :to => to
+    cmd = case (hookcmd = HookManager.run "bounce-command", :from => m.from, :to => to)
           when nil, /^$/ then defcmd
           else hookcmd
           end + ' ' + to.map { |t| t.email }.join(' ')
-- 
1.6.3.3



             reply	other threads:[~2009-07-11 11:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-11 11:57 Adeodato Simó [this message]
2009-07-11 14:28 ` Ben Walton
2009-07-27 16:22   ` William Morgan
2009-07-27 16:25     ` Ben Walton
2009-07-27 16:29       ` William Morgan
2009-07-27 16:30       ` Ben Walton
2009-07-27 16:45         ` William Morgan
2009-07-27 16:30 ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef3825cbc25db1005616823980a339827c9db65e.1247313450.git.dato@net.com.org.es \
    --to=dato@net.com.org.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox