Unverified Commit f808eeb9 authored by Luc Didry's avatar Luc Didry
Browse files

Fix #613 — Avoid MHonArc’s search warning flood

parent 4be974c3
......@@ -304,6 +304,11 @@ sub search {
last if (/-->/);
}
}
# If $subj is undefined, <$fh> will be undefined thus going further
# is useless
next unless defined $subj;
$subj =~ s/ *-->$//;
($from = <$fh>) =~ s/^<!--X-From-R13: (.*) -->/$1/;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment