]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[urlfeed] change open
authorbw1 <redacted>
Sat, 2 Mar 2019 10:01:36 +0000 (11:01 +0100)
committerbw1 <redacted>
Sat, 2 Mar 2019 10:01:36 +0000 (11:01 +0100)
scripts/urlfeed.pl

index 4113824bbbea4d9835c09eb96043924e4439d280..936fc140f4c43f58114a9b3ad7ed5f511033e4b4 100644 (file)
@@ -23,7 +23,7 @@ use Encode;
 use XML::RSS;
 use Regexp::Common qw /URI/;
 
-$VERSION = '1.30';
+$VERSION = '1.31';
 
 %IRSSI = (
     authors     => 'Jakub Jankowski',
@@ -32,7 +32,7 @@ $VERSION = '1.30';
     description => 'Provides RSS feeds with URLs pasted on your channels.',
     license     => 'GNU GPLv2 or later',
     url         => 'http://toxcorp.com/irc/irssi/urlfeed/',
-    changed     => '$Date: 2014-12-12 00:25:38 +0100$'
+    changed     => '2019-03-02'
 );
 
 # These rules apply only to per-channel RSS files, NOT to the bundle!
@@ -94,7 +94,7 @@ sub urlfeed_touch_file ($) {
     return 0;
   }
 
-  eval { open(FH, "+<$f"); };
+  eval { open(FH, '+<',$f); };
   if ($@) {
     Irssi::print("URLfeed error: couldn't open $f for writing: $@");
     return 0;
git clone https://git.99rst.org/PROJECT