From: mh Date: Sat, 16 May 2020 20:33:56 +0000 (+0200) Subject: Update mh_secureonlychan_489 from v1.00 to v1.01 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c271c4c96c45451981fbaadec78f981e5e66393d;p=irssi-scripts.irssi.org.git Update mh_secureonlychan_489 from v1.00 to v1.01 Fixed a typo causing the script to selfdestruct on ABI version 28 and later instead of the correct 29 and later. --- diff --git a/scripts/mh_secureonlychan_489.pl b/scripts/mh_secureonlychan_489.pl index 84c1d66..20097d1 100644 --- a/scripts/mh_secureonlychan_489.pl +++ b/scripts/mh_secureonlychan_489.pl @@ -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"); }