summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAilin Nemui2016-11-01 17:15:32 +0100
committerAilin Nemui2016-11-01 17:15:32 +0100
commitae6cf76d83852c2c2e819a9921d515b7f2e30a79 (patch)
treec297b803715cfafe18300e7fb79882752ee442c5 /scripts
parenteba0398b7544842b3a5dc067a913355edfd004b9 (diff)
downloadscripts.irssi.org-ae6cf76d83852c2c2e819a9921d515b7f2e30a79.tar.bz2
adv_windowlist update to 1.3
- workaround for irssi issue #572
Diffstat (limited to 'scripts')
-rw-r--r--scripts/adv_windowlist.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/adv_windowlist.pl b/scripts/adv_windowlist.pl
index ee0219b..6285786 100644
--- a/scripts/adv_windowlist.pl
+++ b/scripts/adv_windowlist.pl
@@ -1,7 +1,7 @@
use strict;
use warnings;
-our $VERSION = '1.2'; # 762850b0c2c1d5a
+our $VERSION = '1.3'; # 463402cffae35e5
our %IRSSI = (
authors => 'Nei',
contact => 'Nei @ anti@conference.jabber.teamidiot.de',
@@ -1710,8 +1710,13 @@ sub string_LCSS {
(sort { length $b <=> length $a } $str =~ /(?=(.+).*\0.*\1)/g)[0]
}
+# workaround for issue #271
{ package Irssi::Nick }
+# workaround for issue #572
+@Irssi::UI::Exec::ISA = 'Irssi::Windowitem'
+ if Irssi::version >= 20140822 && Irssi::version <= 20161101 && !@Irssi::UI::Exec::ISA;
+
UNITCHECK
{ package AwlViewer;
use strict;
@@ -2388,6 +2393,7 @@ UNITCHECK
# Changelog
# =========
+# 1.3 - workaround for irssi issue #572
# 1.2 - new format to choose abbreviation character
# 1.1 - infinite loop on shortening certain window names reported by Kalan
#