diff options
author | Tom Feist <shabble@metavore.org> | 2010-09-30 20:03:06 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2010-09-30 20:03:06 +0000 |
commit | 08be16aead4f98217dd7a4191c98a79dac83b366 (patch) | |
tree | aa853c53c77c3c3722489987c162b2f11bdfd2d8 | |
parent | fixed comment urls to point at irssi-scripts/ as they should (diff) | |
download | irssi-scripts-08be16aead4f98217dd7a4191c98a79dac83b366.tar.gz irssi-scripts-08be16aead4f98217dd7a4191c98a79dac83b366.zip |
rename $window to avoid conflict in cmd_ex_command
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index e7c39d8..c4c4740 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -895,10 +895,10 @@ sub cmd_ex_command { } else { @regs = keys %$registers; } - my $window = Irssi::active_win; + my $active_window = Irssi::active_win; foreach my $key (sort @regs) { if (defined $registers->{$key}) { - $window->print("register $key: $registers->{$key}"); + $active_window->print("register $key: $registers->{$key}"); } } } |