chiark
/
gitweb
/
~webstump
/
modbot-urcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unfolding: do not introduce additional lwsp
[modbot-urcm.git]
/
stump
/
bin
/
needAck
diff --git
a/stump/bin/needAck
b/stump/bin/needAck
index 9b464d3cb0575fe1d7fff2aaf03d6cc669318ea2..3f754132ecd04007f48544c9b51596c960ef9469 100755
(executable)
--- a/
stump/bin/needAck
+++ b/
stump/bin/needAck
@@
-9,7
+9,9
@@
require "$MNG_ROOT/bin/robomod.pl";
# checks if poster needs ack
sub checkAck {
- $needAck = ! &nameIsInList( $From, "noack.list" );
+ my $fromaddr = $From;
+ $fromaddr =~ s/^[-A-Za-z]+\s*\:\s*//;
+ $needAck = ! &nameIsInListExactly( $fromaddr, "noack.list" );
}