#include <libguile/regex-posix.h>
}
+bool
+Hook::operator< (const Hook & h) const
+{
+ if (priority < h.priority)
+ {
+ return true;
+ }
+ else if (priority > h.priority)
+ {
+ return false;
+ }
+ else if (fallthru && h.fallthru)
+ {
+ return false;
+ }
+ else if (fallthru && !h.fallthru)
+ {
+ return false;
+ }
+ else if (!fallthru && h.fallthru)
+ {
+ return true;
+ }
+ else
+ {
+ // NOTE: This should never be reached
+ return false;
+ }
+}
+
BotInterp::BotInterp(Bot *b, String fn)
: bot(b), counter(0), timer_mutex (true)
{