aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-04-06 09:28:27 +0000
committerTom Feist <shabble@metavore.org>2011-04-06 09:28:27 +0000
commit4788aac670b70cf5799bb8c8c8444ec69373547b (patch)
tree16b42dd621efbcfb09ccfb7a44531563b8e3b8b4
parentvim_mode: added history support to Ex mode. Can be scrolled backwards and (diff)
downloadirssi-scripts-ex_history.tar.gz
irssi-scripts-ex_history.zip
vim_mode: fix ambiguous shift warning.ex_history
-rw-r--r--vim-mode/vim_mode.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index b43185f..a731269 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -626,7 +626,7 @@ my $completion_active = 0;
my $completion_string = '';
sub script_is_loaded {
- return exists($Irssi::Script::{shift . '::'});
+ return exists($Irssi::Script::{shift(@_) . '::'});
}