diff options
author | Micah Anderson <micah@riseup.net> | 2011-04-28 19:30:05 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2011-04-28 19:30:22 -0400 |
commit | b046f0126308d2fd6efe8a03345b4985af91bff6 (patch) | |
tree | 9f6c2611a37ede22984f0d0cb674aef144d4dfd1 | |
parent | 4827958dda15705ac1eeb5eacc7e694a92bb7a5d (diff) |
fix syntax error from previous commit
-rw-r--r-- | files/irc_bot/riseup-nagios-server.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); |