diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-11-03 14:09:39 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-03 14:09:39 +0100 |
commit | 6ce959e101e00abdc0724696457479549e2b0784 (patch) | |
tree | debdbc834d228162f24e2098c83af3c5a1600ce7 | |
parent | e959e3e5d36e8e2723eee741ce57efbfb772f982 (diff) | |
download | jenkins.debian.net-6ce959e101e00abdc0724696457479549e2b0784.tar.xz |
email2irc: ignore Content-Type and Content-Transfer-Encoding lines too
-rwxr-xr-x | bin/email2irc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh index dd02f39d..ff3d9e15 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -60,7 +60,7 @@ while read line ; do MY_LINE=$line debug123 "#1" MY_LINE $MY_LINE # if this is a multipart email it comes from the email extension plugin - if [ "${line:0:7}" = "------=" ] ; then + if [ "${line:0:7}" = "------=" ] || [ "${line:0:9}" = "Content-T" ] ; then debug123 "#2" line $line MY_LINE="" else |