From 5c9d582335a7b331c43cdd8b0fbb91ccc86708c3 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Fri, 5 Apr 2002 20:11:21 +0000 Subject: [PATCH] added debuging statement before messaging functions are called for the notifictions --- src/spong-message.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/spong-message.pl b/src/spong-message.pl index 15c21d8..02f6b96 100755 --- a/src/spong-message.pl +++ b/src/spong-message.pl @@ -12,7 +12,7 @@ # (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@@"; @@ -630,6 +630,8 @@ RULE: ($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)); }; @@ -643,6 +645,8 @@ RULE: ($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); }; -- 2.30.2