# (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.27 2001/02/07 14:33:10 sljohnson Exp $
+# $Id: spong-message.pl,v 1.28 2001/04/17 21:39:48 sljohnson Exp $
use lib "@@LIBDIR@@";
&debug("Adding contact " . (ref($contact) eq 'HASH' ? "hash: " .
$contact->{'rcpt'} : ": " . $contact));
if ( ref($contact) eq 'HASH') {
- foreach $rcpt ( split /[, \t]+/, $contact->{'rcpt'} ) {
- if ( $HUMANS{$rcpt}->{'group'} ) {
+# foreach $rcpt ( split /[, \t]+/, $contact->{'rcpt'} ) {
+ if ( $HUMANS{$contact}{'rcpt'}{'group'} ) {
my $groupee;
foreach $groupee ( split /[, \t]+/, $HUMANS{$rcpt}->{'group'} ) {
my $newent = {'rcpt' => $groupee};
&add_contact(\@con, $newent);
}
} else {
- push @con, $rcpt
+ push @con, $contact;
}
- }
+# }
} elsif ( $HUMANS{$contact}->{'group'} ) {
my $groupee;
foreach $groupee ( split /[, \t]+/, $HUMANS{$contact}->{'group'} ) {