summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorailin-nemui2017-03-20 16:22:04 +0100
committerGitHub2017-03-20 16:22:04 +0100
commitba47622a87308f3965af112c503876ce7864e076 (patch)
treef6ac956b49bb591b11b2be6d20c20586271d19b1
parentc4ab82bb8251ac4604125fef441de8ceb3392782 (diff)
parentfb57f4777e8822804df2707507543be6874ffde7 (diff)
downloadscripts.irssi.org-ba47622a87308f3965af112c503876ce7864e076.tar.bz2
Merge pull request #378 from bw1/ogg123
[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>) {