summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/email2irc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index ff3d9e15..15a69263 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -38,7 +38,7 @@ while read line ; do
SUBJECT=${line:9}
# the email-ext plugin sometimes sends multi line subjects..
NEXT=read line
- if [ "${NEXT:1}" = " " ] ; then
+ if [ "${NEXT:0:1}" = " " ] ; then
SUBJECT="${SUBJECT}${NEXT}"
fi
fi