aboutsummaryrefslogtreecommitdiffstats
path: root/prompt_info
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--prompt_info/uberprompt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl
index e7f8672..63cd958 100644
--- a/prompt_info/uberprompt.pl
+++ b/prompt_info/uberprompt.pl
@@ -100,7 +100,7 @@
# # 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')) {