From b046f0126308d2fd6efe8a03345b4985af91bff6 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 28 Apr 2011 19:30:05 -0400 Subject: fix syntax error from previous commit --- files/irc_bot/riseup-nagios-server.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files') diff --git a/files/irc_bot/riseup-nagios-server.pl b/files/irc_bot/riseup-nagios-server.pl index b69ecab..7180758 100644 --- a/files/irc_bot/riseup-nagios-server.pl +++ b/files/irc_bot/riseup-nagios-server.pl @@ -101,7 +101,7 @@ sub socket_has_data { my $self = shift; $self->{socket}->recv(my $data, 1024); - if ($CFG::Nsa{'usenotices'} { + if ($CFG::Nsa{'usenotices'}) { $self->{conn}->notice($CFG::Nsa{'channel'}, $data); } else { $self->{conn}->privmsg($CFG::Nsa{'channel'}, $data); -- cgit v1.2.3