X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2FannounceEmail.pl;h=a864634338d6891b1a68da8da7229dc0924fb8a1;hb=0aecce55f2b1b5cbb7768a925b9af3bfd1458db3;hp=3b9d52aa052a3e5f8fe6d5361ad526ebcd902c2f;hpb=4acb6f612a8cf19db26bc40060ed8e79fb16b91d;p=clearscm.git diff --git a/bin/announceEmail.pl b/bin/announceEmail.pl index 3b9d52a..a864634 100755 --- a/bin/announceEmail.pl +++ b/bin/announceEmail.pl @@ -252,9 +252,7 @@ sub MonitorMail() { my $greeting = $greetings[int rand $#greetings]; my $msg = "$greeting from $from... $subject"; - $msg =~ s/\"/\\"/g; - - my $hour = (localtime)[2]; + my $hour = (localtime)[2]; # Only announce if after 6 Am. Note this will announce up until # midnight but that's ok. I want midnight to 6 Am as silent time.