From 0a0a457e514d06fe4923d1c9c31913277306f0a8 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 19 Oct 2016 09:28:52 +0200 Subject: [PATCH] fix refresh of vivivi --- galanga/nagios-irc-bot.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galanga/nagios-irc-bot.pl b/galanga/nagios-irc-bot.pl index ddb4d28..3b44507 100755 --- a/galanga/nagios-irc-bot.pl +++ b/galanga/nagios-irc-bot.pl @@ -91,7 +91,6 @@ sub on_connect { # CONFIG: channels you want us to announce to ... $self->join($channel); #$self->join("#status"); - &refresh (); } # Handles some messages you get when you connect @@ -119,6 +118,7 @@ sub on_join { printf "*** %s (%s) has joined channel %s\n", $nick, $userhost, $channel; + &refresh (); } # What to do when we receive a private PRIVMSG.