aboutsummaryrefslogtreecommitdiffstats
path: root/prompt_info
diff options
context:
space:
mode:
Diffstat (limited to 'prompt_info')
-rw-r--r--prompt_info/uberprompt.pl10
1 files changed, 2 insertions, 8 deletions
diff --git a/prompt_info/uberprompt.pl b/prompt_info/uberprompt.pl
index 37c3c81..3426711 100644
--- a/prompt_info/uberprompt.pl
+++ b/prompt_info/uberprompt.pl
@@ -100,13 +100,7 @@
# # check we have uberprompt loaded.
#
# sub script_is_loaded {
-# my $name = shift;
-# print "Checking if $name is loaded" if DEBUG;
-# no strict 'refs';
-# my $retval = defined %{ "Irssi::Script::${name}::" };
-# use strict 'refs';
-#
-# return $retval;
+# return exists($Irssi::Script::{shift . '::'});
# }
#
# if (not script_is_loaded('uberprompt')) {
@@ -122,7 +116,7 @@
# }
# app_init();
# } else {
-# app_init();
+# app_init();
# }
#
# sub load_uberprompt_failed {