aboutsummaryrefslogtreecommitdiffstats
path: root/history-search
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--history-search/rl_history_search.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/history-search/rl_history_search.pl b/history-search/rl_history_search.pl
index 642b99c..2df9171 100644
--- a/history-search/rl_history_search.pl
+++ b/history-search/rl_history_search.pl
@@ -81,7 +81,7 @@ sub DEBUG () { $DEBUG_ENABLED }
# check we have uberprompt loaded.
sub script_is_loaded {
- return exists($Irssi::Script::{shift . '::'}) ;
+ return exists($Irssi::Script::{$_[0] . '::'}) ;
}
if (not script_is_loaded('uberprompt')) {