From e559044854182b7051f45d5bc76d14bfcf54402b Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Thu, 20 Jul 2000 06:24:53 +0000 Subject: [PATCH] adding missing msg template code for 'contact:module' formatted contacts --- src/spong-message.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/spong-message.pl b/src/spong-message.pl index f08251f..0b38aca 100755 --- a/src/spong-message.pl +++ b/src/spong-message.pl @@ -618,8 +618,11 @@ RULE: } } else { if (defined $HUMANS{$person}->{$func}) { + + ($subj,$body) = eval_template($person,$func); + # Call the message function as referenced by the MSGFUNCS hash - eval { &{$MSGFUNCS{$func}}($HUMANS{$person}->{$func}); }; + eval { &{$MSGFUNCS{$func}}($HUMANS{$person}->{$func},$subj,$body); }; if ($@) { &error("No message function defined for $func: $@"); -- 2.30.2