]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[dim_nicks] update to 0.4.9
authorailin-nemui <redacted>
Thu, 16 May 2019 09:16:26 +0000 (09:16 +0000)
committerGitHub <redacted>
Thu, 16 May 2019 09:16:26 +0000 (09:16 +0000)
- fix default setting not working
reported by Koffa

scripts/dim_nicks.pl

index ae28ff436423d48ecc557d38250e385d16098ac4..b66c309a49c8538ce4c34fa8f39d995c1d2e6825 100644 (file)
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.4.8'; # baf75f08d3d32c9
+our $VERSION = '0.4.9';
 our %IRSSI = (
     authors     => 'Nei',
     contact     => 'Nei @ anti@conference.jabber.teamidiot.de',
@@ -69,6 +69,7 @@ my $skip_forms = 1;
 my $search_forms_max = 5;
 my $ignore_hilights = 1;
 my $color_letter = 'K';
+my @color_code = ("\cD8/"); # update this when you change $color_letter
 
 # nick object cache, chan object cache, line id cache, line id -> window map, -> channel, -> nick, -> nickname, channel -> line ids, channel->nickname->departure time, channel->nickname->{parts of line}
 my (%nick_reg, %chan_reg, %history_w, %history_c, %history_n, %history_nn, %history_st, %lost_nicks, %lost_nicks_fs, %lost_nicks_fc, %lost_nicks_bc, %lost_nicks_bs);
@@ -83,8 +84,6 @@ sub msg_line_tag {
     &Irssi::signal_continue;
 }
 
-my @color_code;
-
 sub color_to_code {
     my $win = Irssi::active_win;
     my $view = $win->view;
@@ -422,6 +421,8 @@ init_dim_nicks();
 
 # Changelog
 # =========
+# 0.4.9
+# - fix default setting not working
 # 0.4.8
 # - optionally ignore hilighted lines
 # 0.4.7
git clone https://git.99rst.org/PROJECT