From 424e6de2cea2b42c22f64e65d1ca1235d2039d1d Mon Sep 17 00:00:00 2001 From: Alex Checca Date: Fri, 15 Jan 2016 02:14:45 -0500 Subject: minor change for code critic --- scripts/xdcc_autoget.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/xdcc_autoget.pl b/scripts/xdcc_autoget.pl index c3e22cd..99af82a 100644 --- a/scripts/xdcc_autoget.pl +++ b/scripts/xdcc_autoget.pl @@ -378,7 +378,7 @@ sub ag_skip { my($botcounter) = @_; my @packlist = (); - try {my @packlist = @{$packs[$botcounter]} or die;} #workaround for @{} being dumb if an array inside of an array is empty + try {my @packlist = @{$packs[$botcounter]};} #workaround for @{} being dumb if an array inside of an array is empty catch {}; #Irssi::print "ag_skip $msgflag $episodicflag $episode $#packs $packcounter $#terms $termcounter $#bots $botcounter"; &ag_remtimeouts($botcounter); #stop any other skips @@ -745,7 +745,7 @@ sub ag_stop sub ag_restart { - $statusbarmessage = "Inactive"; + $statusbarmessage = "No Connection"; Irssi::signal_remove("dcc request", "ag_opendcc"); Irssi::signal_remove("message irc notice", "ag_getmsg"); -- cgit v1.2.3