aboutsummaryrefslogtreecommitdiffstats
path: root/scrolled-reminder
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scrolled-reminder/scrolled_reminder.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scrolled-reminder/scrolled_reminder.pl b/scrolled-reminder/scrolled_reminder.pl
index 21fab26..efe6630 100644
--- a/scrolled-reminder/scrolled_reminder.pl
+++ b/scrolled-reminder/scrolled_reminder.pl
@@ -82,7 +82,7 @@ our %IRSSI =
# check we have prompt_info loaded.
sub script_is_loaded {
- return exists($Irssi::Script::{shift . '::'}) ;
+ return exists($Irssi::Script::{$_[0] . '::'}) ;
}
unless (script_is_loaded('uberprompt')) {