aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
Diffstat (limited to 'vim-mode')
-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(@_) . '::'});
}