commit 20d3a6cfd601388ed5148d0c0032765cf8ce90c0
parent 55f9b292033d3facd1c8bfb791436723626339b0
Author: Adeodato Simó <dato@net.com.org.es>
Date: Sat, 11 Jul 2009 13:57:55 +0200
Unbreak "bounce-command" hook (was referencing an nonexistent variable)
Signed-off-by: Adeodato Simó
Diffstat:
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
@@ -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(' ')