diff options
-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); |