diff options
author | Tom Feist <shabble@metavore.org> | 2011-04-01 06:26:42 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-04-01 06:26:42 +0000 |
commit | 9b4f3c204419e20bcb470b8aa04a6ffb4e35fdfb (patch) | |
tree | f5297e136bf4372783476000a39910559da1942f /prompt_info/uberprompt.pl | |
parent | notifyquit: flippy-floppy some logic for clarity. (diff) | |
download | irssi-scripts-9b4f3c204419e20bcb470b8aa04a6ffb4e35fdfb.tar.gz irssi-scripts-9b4f3c204419e20bcb470b8aa04a6ffb4e35fdfb.zip |
Bah. more fixing of script_is_loaded.
Diffstat (limited to 'prompt_info/uberprompt.pl')
-rw-r--r-- | prompt_info/uberprompt.pl | 2 |
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')) { |