aboutsummaryrefslogtreecommitdiffstats
path: root/ido-mode
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ido-mode/ido_switcher.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ido-mode/ido_switcher.pl b/ido-mode/ido_switcher.pl
index e5c5447..9f8d121 100644
--- a/ido-mode/ido_switcher.pl
+++ b/ido-mode/ido_switcher.pl
@@ -251,7 +251,7 @@ sub print_all_matches {
}
sub script_is_loaded {
- return exists($Irssi::Script::{shift . '::'});
+ return exists($Irssi::Script::{$_[0] . '::'});
}
unless (script_is_loaded('uberprompt')) {