Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [PATCH] Unbreak "bounce-command" hook (was referencing an nonexistent variable)
@ 2009-07-11 11:57 Adeodato Simó
  2009-07-11 14:28 ` Ben Walton
  2009-07-27 16:30 ` William Morgan
  0 siblings, 2 replies; 8+ messages in thread
From: Adeodato Simó @ 2009-07-11 11:57 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-27 16:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-11 11:57 [sup-talk] [PATCH] Unbreak "bounce-command" hook (was referencing an nonexistent variable) Adeodato Simó
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox