Fix syntax error
authorTollef Fog Heen <tfheen@err.no>
Mon, 9 Dec 2013 20:26:32 +0000 (21:26 +0100)
committerTollef Fog Heen <tfheen@err.no>
Mon, 9 Dec 2013 20:26:41 +0000 (21:26 +0100)
config/static/bin/notify-irc

index ca3db61..4aef2ec 100755 (executable)
@@ -59,7 +59,7 @@ if ($state =~ m/CRITICAL|DOWN|UNREACHABLE/ ) {
 open(MAIL, "|$SENDMAIL -t -oi -f $ENVELOPE_FROM") or
        die ("Cannot exec sendmail: $!\n");
 print MAIL "From: $HEADER_FROM\n";
-print MAIL "To: $BOT_ADDRESS\n";
+print MAIL "To: $bot_address\n";
 print MAIL "Subject: Announce $project\n";
 print MAIL "Precedence: junk\n";
 print MAIL "\n";