summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorbw12017-03-20 14:19:18 +0100
committerbw12017-03-20 14:19:18 +0100
commitfb57f4777e8822804df2707507543be6874ffde7 (patch)
treef6ac956b49bb591b11b2be6d20c20586271d19b1 /scripts
parentc4ab82bb8251ac4604125fef441de8ceb3392782 (diff)
downloadscripts.irssi.org-fb57f4777e8822804df2707507543be6874ffde7.tar.bz2
[ogg123][CRIT] rewrite open
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ogg123.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ogg123.pl b/scripts/ogg123.pl
index 274ebbd..85a6700 100644
--- a/scripts/ogg123.pl
+++ b/scripts/ogg123.pl
@@ -64,7 +64,7 @@ sub cmd_ogg123 {
}
}
- open (f, $ogg123file) || return;
+ open (f,'<', $ogg123file) || return;
while ($ogg123linha=<f>) {