]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Update mh_secureonlychan_489 from v1.00 to v1.01
authormh <redacted>
Sat, 16 May 2020 20:33:56 +0000 (22:33 +0200)
committerGitHub <redacted>
Sat, 16 May 2020 20:33:56 +0000 (22:33 +0200)
Fixed a typo causing the script to selfdestruct on ABI version 28 and later instead of the correct 29 and later.

scripts/mh_secureonlychan_489.pl

index 84c1d661eeae03ddb987a4827e414ea6b3bbd6c7..20097d10332ca2b4ca3a3ecdd048bcc70f47d918 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/env false
 ##############################################################################
 #
-# mh_secureonlychan_489 v1.00
+# mh_secureonlychan_489 v1.01
 #
 # Copyright (c) 2020  Michael Hansen
 #
@@ -48,7 +48,7 @@ use Irssi ();
 #
 ##############################################################################
 
-our $VERSION = '1.00';
+our $VERSION = '1.01';
 our %IRSSI   =
 (
        'name'        => 'mh_secureonlychan_489',
@@ -91,7 +91,7 @@ sub signal_server_event
 ##############################################################################
 
 # selfdestruct if Irssi is new enough to have the source-code fixed for this issue
-if (Irssi::parse_special('$abiversion') and (Irssi::parse_special('$abiversion') >= 28))
+if (Irssi::parse_special('$abiversion') and (Irssi::parse_special('$abiversion') >= 29))
 {
        die('The script is not needed for this version of Irssi.' . "\n");
 }
git clone https://git.99rst.org/PROJECT