summaryrefslogtreecommitdiffstats
path: root/scripts/xdcc_autoget.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xdcc_autoget.pl')
-rw-r--r--scripts/xdcc_autoget.pl4
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");