From fb57f4777e8822804df2707507543be6874ffde7 Mon Sep 17 00:00:00 2001 From: bw1 Date: Mon, 20 Mar 2017 14:19:18 +0100 Subject: [ogg123][CRIT] rewrite open --- _testing/config.yml | 1 - scripts/ogg123.pl | 2 +- 2 files changed, 1 insertion(+), 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=) { -- cgit v1.2.3