diff options
| author | Alex Checca | 2016-01-15 02:14:45 -0500 | 
|---|---|---|
| committer | Alex Checca | 2016-01-15 02:14:45 -0500 | 
| commit | 424e6de2cea2b42c22f64e65d1ca1235d2039d1d (patch) | |
| tree | cb565d072992dc190af3c4f7811a723a5da2d2f8 /scripts | |
| parent | 4d482b51d7022a1c40dcec5844bda9030d2e5247 (diff) | |
| download | scripts.irssi.org-424e6de2cea2b42c22f64e65d1ca1235d2039d1d.tar.bz2 | |
minor change for code critic
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/xdcc_autoget.pl | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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"); | 
