diff options
| author | Alex Checca | 2015-11-10 23:47:53 -0500 |
|---|---|---|
| committer | Alex Checca | 2015-11-10 23:47:53 -0500 |
| commit | 19666a6a5d55b6248d82e84d15d16567a1d02063 (patch) | |
| tree | c987a31f2a69089ecbd19fdd63c6e07d3b7c7b52 | |
| parent | f97abc0ca55bb826820344614e1951caede45be7 (diff) | |
| download | scripts.irssi.org-19666a6a5d55b6248d82e84d15d16567a1d02063.tar.bz2 | |
ever more TRAVIS CI fixes
| -rw-r--r-- | scripts/xdcc_autoget.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/xdcc_autoget.pl b/scripts/xdcc_autoget.pl index c097b1e..1cf52b9 100644 --- a/scripts/xdcc_autoget.pl +++ b/scripts/xdcc_autoget.pl @@ -23,6 +23,7 @@ # ag_search_file : where your search list is stored use strict; +use warnings; use Irssi; use Text::ParseWords; @@ -124,7 +125,7 @@ sub ag_init #init system sub ag_initserver #init server { - $server = ""; + $server = " "; $server = Irssi::active_server(); #keep trying to get server until it works, then continue after 5 seconds if ($server !~ m/^Irssi::Irc::Server=HASH/) {Irssi::timeout_add_once(1000, sub {&ag_initserver;} , []);} else {Irssi::timeout_add_once(5000, sub {&ag_run;} , []);} |
