summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbw12017-03-20 14:19:18 +0100
committerbw12017-03-20 14:19:18 +0100
commitfb57f4777e8822804df2707507543be6874ffde7 (patch)
treef6ac956b49bb591b11b2be6d20c20586271d19b1
parentc4ab82bb8251ac4604125fef441de8ceb3392782 (diff)
downloadscripts.irssi.org-fb57f4777e8822804df2707507543be6874ffde7.tar.bz2
[ogg123][CRIT] rewrite open
-rw-r--r--_testing/config.yml1
-rw-r--r--scripts/ogg123.pl2
2 files changed, 1 insertions, 2 deletions
diff --git a/_testing/config.yml b/_testing/config.yml
index 439775d..ab016bf 100644
--- a/_testing/config.yml
+++ b/_testing/config.yml
@@ -52,7 +52,6 @@ whitelist:
- mkshorterlink
- newsline
- nicklist
- - ogg123
- oidenty
- 'on'
- osd
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>) {