]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[iMPD] fix compile error
authorAilin Nemui <redacted>
Mon, 25 Jan 2021 20:56:36 +0000 (21:56 +0100)
committerAilin Nemui <redacted>
Mon, 25 Jan 2021 23:43:27 +0000 (00:43 +0100)
_testing/config.yml
scripts/iMPD.pl

index a91d4d412ac3a4b22b961e04cb8bbf37b6a84e77..e8b9ee050cdf8df6333ea5f533f77c66450b0914 100644 (file)
@@ -34,7 +34,6 @@ whitelist:
   - idonkey
   - ircgallery
   - isdn
-  - iMPD
   - ixmmsa
   - l33tmusic
   - log2ansi
index bf17b93609d8c7e146d6bf9b462598cd835167ab..687b2bb93bc90a62085a0e14fd82582bc158d012 100644 (file)
@@ -80,7 +80,7 @@ use Irssi::TextUI;
 use strict;
 use vars qw($VERSION %ENABLED %SAVE_VARS %IRSSI %COUNT %SET);
 
-$VERSION = '0.0.0n';
+$VERSION = '0.0.0o';
 %IRSSI = (
          authors     => 'Santabutthead',
          contact     => 'starz@antisocial.com',
@@ -351,7 +351,7 @@ sub clearback {
 
 sub crossfade {
     &read_settings;
-    if ($_[0] =~ m/\d{1-4}/) {
+    if ($_[0] =~ m/\d{1,4}/) {
        &current_window;
        Irssi::command( "$SET{'intrairssi'} crossfade $_[0]" );
        &mpdbar_refresh; # Impatience
@@ -926,7 +926,7 @@ sub search {
 
 sub seek {
     &read_settings;
-    if ($_[0] =~ m/\d{1-3}/) {
+    if ($_[0] =~ m/\d{1,3}/) {
        &current_window;
        Irssi::command( "$SET{'intrairssi'} seek $_[0]" );
        &mpdbar_refresh; # Impatience
git clone https://git.99rst.org/PROJECT