diff options
| author | Obfuscoder | 2014-10-17 20:34:00 +0200 | 
|---|---|---|
| committer | Obfuscoder | 2014-10-22 18:30:36 +0200 | 
| commit | 2329fe260d3393c6bcbc868cb3f7a33d324b1910 (patch) | |
| tree | 90056b11938a47e1662c9e83eec6b08d6385914d /scripts/cron.pl | |
| parent | 263a56d196da657b72ccf2b195b50008d6a988dc (diff) | |
| download | scripts.irssi.org-2329fe260d3393c6bcbc868cb3f7a33d324b1910.tar.bz2 | |
Fix perlcritic issues for all scripts starting with b,c,d
Diffstat (limited to 'scripts/cron.pl')
| -rw-r--r-- | scripts/cron.pl | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/scripts/cron.pl b/scripts/cron.pl index bd8d127..9e1d125 100644 --- a/scripts/cron.pl +++ b/scripts/cron.pl @@ -256,7 +256,7 @@ sub cmd_jobadd {  }  sub cmd_jobssave { -	if (not open (FILE, "> $savefile")) { +	if (not open (FILE, ">", $savefile)) {  		Irssi::print("Could not open file '$savefile': $!");  		return;  	} @@ -275,7 +275,7 @@ sub cmd_jobssave {  }  sub cmd_jobsload { -	if (not open (FILE, "$savefile")) { +	if (not open (FILE, q{<}, $savefile)) {  		Irssi::print("Could not open file '$savefile': $!");  		return;  	} | 
