From 6ce959e101e00abdc0724696457479549e2b0784 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 3 Nov 2014 14:09:39 +0100 Subject: email2irc: ignore Content-Type and Content-Transfer-Encoding lines too --- bin/email2irc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/email2irc.sh') 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 -- cgit v1.2.3-54-g00ecf