From 09803da5d9b412251aad36a66bef61dcbe709310 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Thu, 9 Mar 2000 16:59:28 +0000 Subject: [PATCH] changed ack service check to use m// instead of eq --- src/spong-message.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spong-message.pl b/src/spong-message.pl index 6058261..1dd253a 100755 --- a/src/spong-message.pl +++ b/src/spong-message.pl @@ -95,7 +95,7 @@ $acks = new Spong::AckList($host); if (defined $acks) { foreach ( $acks->acks() ) { - if ( ( $_->services() eq $service or $_->services() eq "all" ) and + if ( ( $_->services() =~ m/$service/ or $_->services() eq "all" ) and ( $time >= $_->start() and $time <= $_->end() ) ) { &debug("Match on Ack for " . $_->services() . ", ending " . $_->end() . ", no message will be sent" ); -- 2.30.2