+12Nov00=======================================================================
+1. Fix lack 't' action in Filter.pm
08Nov00=======================================================================
1. fix cosmetic errors in for/oper for 'users'.
07Nov00=======================================================================
# guess, use (to, from, time, subject) tuple?
foreach $dxchan (@nodelist) {
next if $dxchan->call eq $main::mycall;
- next if grep { $_ eq $dxchan->call } @{$ref->{gotit}};
+ next if ref $ref->{gotit} && grep $_ eq $dxchan->call, @{$ref->{gotit}};
next unless $ref->forward_it($dxchan->call); # check the forwarding file
# if we are here we have a node that doesn't have this message
push @t, "(\$r->[$fref->[2]]>=$1 && \$r->[$fref->[2]]<=$2)";
}
$s .= "(" . join(' || ', @t) . ")";
+ } elsif ($fref->[1] eq 't') {
+ my @t;
+ for (@val) {
+ s/\*//g;
+ push @t, "\$r->[$fref->[2]]=~/$_/i";
+ }
+ $s .= "(" . join(' || ', @t) . ")";
} else {
confess("invalid letter $fref->[1]");
}