projects
/
spong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c81a63
)
changed ack service check to use m// instead of eq
author
Stephen L Johnson
<sjohnson@monsters.org>
Thu, 9 Mar 2000 16:59:28 +0000
(16:59 +0000)
committer
Stephen L Johnson
<sjohnson@monsters.org>
Thu, 9 Mar 2000 16:59:28 +0000
(16:59 +0000)
src/spong-message.pl
patch
|
blob
|
history
diff --git
a/src/spong-message.pl
b/src/spong-message.pl
index 605826161ac497c04bea2cfb5010eb7454977b23..1dd253a1fddd89c75b51563188b447ec1b952dc3 100755
(executable)
--- 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" );