]> git.cworth.org Git - sup/commit
simple hook that runs when thread is marked as spam
authorMarcus Williams <marcus-sup@bar-coded.net>
Thu, 10 Apr 2008 10:31:55 +0000 (11:31 +0100)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 1 May 2008 01:25:41 +0000 (18:25 -0700)
commitecc99d3541a83375f2f6f224a04f30fd4df2b175
tree54609ee622ab5de46871898215f59cf150def357
parent21c210cdf582d107830383d27004083c16cf68d4
simple hook that runs when thread is marked as spam

This hook adds the ability to configure further actions that take place
when a user marks a thread as spam in sup.

mark-as-spam
------------
File: $HOME/.sup/hooks/mark-as-spam.rb
This hook is run when a thread is marked as spam
Variables:
  thread: The message thread being marked as spam.
lib/sup/modes/thread-index-mode.rb