summaryrefslogtreecommitdiffstats
path: root/scripts/xdcc_autoget.pl
diff options
context:
space:
mode:
authorAlex Checca2015-10-25 18:58:49 -0400
committerAlex Checca2015-10-25 18:58:49 -0400
commitc742fa69f16b1ff32ee3f31d57d4a97d45268c38 (patch)
tree86124de29db05b5d9eea8fc7879124b0f2994bf7 /scripts/xdcc_autoget.pl
parent87ec2d40df3a9d365469e6b7575528c093d75b39 (diff)
downloadscripts.irssi.org-c742fa69f16b1ff32ee3f31d57d4a97d45268c38.tar.bz2
bugfix to work with travis.ci
Diffstat (limited to 'scripts/xdcc_autoget.pl')
-rw-r--r--scripts/xdcc_autoget.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/xdcc_autoget.pl b/scripts/xdcc_autoget.pl
index 100db8e..b89efe4 100644
--- a/scripts/xdcc_autoget.pl
+++ b/scripts/xdcc_autoget.pl
@@ -52,9 +52,9 @@ Irssi::settings_add_str($IRSSI{'name'}, "ag_xdcc_send_prefix", "xdcc send");
Irssi::settings_add_str($IRSSI{'name'}, "ag_xdcc_cancel_prefix", "xdcc cancel");
Irssi::settings_add_str($IRSSI{'name'}, "ag_find_prefix", "!find");
Irssi::settings_add_str($IRSSI{'name'}, "ag_format", "");
-Irssi::settings_add_str($IRSSI{'name'}, "ag_bot_file", File::HomeDir->my_home . "/.irssi/scripts/bots.txt");
-Irssi::settings_add_str($IRSSI{'name'}, "ag_search_file", File::HomeDir->my_home . "/.irssi/scripts/searches.txt");
-Irssi::settings_add_str($IRSSI{'name'}, "ag_cache_file", File::HomeDir->my_home . "/.irssi/scripts/finished.txt");
+Irssi::settings_add_str($IRSSI{'name'}, "ag_bot_file", File::HomeDir->my_home . "/.irssi/bots.txt");
+Irssi::settings_add_str($IRSSI{'name'}, "ag_search_file", File::HomeDir->my_home . "/.irssi/searches.txt");
+Irssi::settings_add_str($IRSSI{'name'}, "ag_cache_file", File::HomeDir->my_home . "/.irssi/finished.txt");
my @totags = (); #timeout tags (need to be purged between send requests maybe)
my @msgtags = (); #timeout tags for search results
@@ -207,7 +207,7 @@ sub ag_skip
elsif ($#terms != $termcounter)
{
- Irssi::print "AG | No new and unfinished packs found or bot " . $bots[$botcounter] . " unresponsive or nonexistent. Skipping to next search";
+ Irssi::print "AG | No new and unfinished packs found while searching ". $terms[$termcounter] . " or bot " . $bots[$botcounter] . " unresponsive or nonexistent. Skipping to next search";
Irssi::signal_remove("message irc notice", "ag_getmsg");
$episode = 1;
$termcounter++;
@@ -215,7 +215,7 @@ sub ag_skip
}
elsif ($#bots != $botcounter)
{
- Irssi::print "AG | No new and unfinished packs found or bot " . $bots[$botcounter] . " unresponsive or nonexistent. Skipping to next bot";
+ Irssi::print "AG | No new and unfinished packs found while searching ". $terms[$termcounter] . " or bot " . $bots[$botcounter] . " unresponsive or nonexistent. Skipping to next bot";
Irssi::signal_remove("message irc notice", "ag_getmsg");
$termcounter = 0;
$episode = 1;
@@ -224,7 +224,7 @@ sub ag_skip
}
else
{
- Irssi::print "AG | No new and unfinished packs found or bot " . $bots[$botcounter] . " unresponsive or nonexistent. End of list";
+ Irssi::print "AG | No new and unfinished packs found while searching ". $terms[$termcounter] . " or bot " . $bots[$botcounter] . " unresponsive or nonexistent. End of list";
Irssi::signal_remove("message irc notice", "ag_getmsg");
$botcounter = 0;
$termcounter = 0;