From 20d3a6cfd601388ed5148d0c0032765cf8ce90c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adeodato=20Sim=C3=B3?= Date: Sat, 11 Jul 2009 13:57:55 +0200 Subject: [PATCH] Unbreak "bounce-command" hook (was referencing an nonexistent variable) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Adeodato Simó --- lib/sup/modes/thread-view-mode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(' ') -- 2.43.0