From mboxrd@z Thu Jan 1 00:00:00 1970 From: dato@net.com.org.es (=?utf-8?q?Adeodato=20Sim=C3=B3?=) Date: Sat, 11 Jul 2009 13:57:55 +0200 Subject: [sup-talk] [PATCH] Unbreak "bounce-command" hook (was referencing an nonexistent variable) Message-ID: Signed-off-by: Adeodato Sim? --- 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