From c416e13290ca4626132d92dd0b147117dd9ec6ad Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 14 Mar 2017 22:43:12 +0100 Subject: email2irc: chop more crap Signed-off-by: Holger Levsen --- bin/email2irc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/email2irc.sh b/bin/email2irc.sh index ec7b1190..a7220b70 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2012-2016 Holger Levsen +# Copyright 2012-2017 Holger Levsen # released under the GPLv=2 # from IRC: @@ -128,7 +128,7 @@ if [ "$VALID_MAIL" = "true" ] ; then MESSAGE="$(echo $MESSAGE | sed -s 's#\?page=changes$##') " MESSAGE="$(echo $MESSAGE | sed -s 's#/console$##') " MESSAGE="$(echo $MESSAGE | sed -s 's#/changes$##') " - MESSAGE="$(echo $MESSAGE | sed -s 's#display/redirect\>$##') " + MESSAGE="$(echo $MESSAGE | sed -s 's#display/redirect.*\>$##') " # log message echo "Notified #$CHANNEL with $MESSAGE" >> $LOGFILE # notify kgb -- cgit v1.2.3-70-g09d2