# (2) Added rules based paging (Stephen Johnson Nov 14, 1998)
# (3) Added checks against Acks and downtime (Stephen Johnson Mar 17, 1999)
#
-# $Id: spong-message.pl,v 1.32 2002/01/30 16:54:39 supermathie Exp $
+# $Id: spong-message.pl,v 1.33 2002/04/05 20:11:21 sljohnson Exp $
use lib "@@LIBDIR@@";
($subj,$body) = eval_template($person,$f);
+ debug("Calling msg function $f for $person");
+
# Call the message function as referenced by the MSGFUNCS hash
eval { (&{$MSGFUNCS{$f}}($HUMANS{$person}->{$f},$subj,$body)); };
($subj,$body) = eval_template($person,$func);
+ debug("Calling msg function $f for $person");
+
# Call the message function as referenced by the MSGFUNCS hash
eval { &{$MSGFUNCS{$func}}($HUMANS{$person}->{$func},$subj,$body); };