]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[ogg123][CRIT] rewrite open
authorbw1 <redacted>
Mon, 20 Mar 2017 13:19:18 +0000 (14:19 +0100)
committerbw1 <redacted>
Mon, 20 Mar 2017 13:19:18 +0000 (14:19 +0100)
_testing/config.yml
scripts/ogg123.pl

index 439775dc9f7e2b457810bfb8aaeee03c3978ad7c..ab016bf0daed2787bede345acf3d955a92dae0fa 100644 (file)
@@ -52,7 +52,6 @@ whitelist:
   - mkshorterlink
   - newsline
   - nicklist
-  - ogg123
   - oidenty
   - 'on'
   - osd
index 274ebbdd02baff6a3d74eb0f63cd4141febcd692..85a6700b59b20e2a42e20387ed79752a35ba2de5 100644 (file)
@@ -64,7 +64,7 @@ sub cmd_ogg123 {
                        }
                }
                
-               open (f, $ogg123file) || return;
+               open (f,'<', $ogg123file) || return;
 
                while ($ogg123linha=<f>) {              
                        
git clone https://git.99rst.org/PROJECT