diff options
Diffstat (limited to 'quit-notify')
| -rw-r--r-- | quit-notify/notifyquit.pl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/quit-notify/notifyquit.pl b/quit-notify/notifyquit.pl index 07a6066..bcccf87 100644 --- a/quit-notify/notifyquit.pl +++ b/quit-notify/notifyquit.pl @@ -24,7 +24,7 @@ my $pending_input = {};  sub script_is_loaded { -    return exists($Irssi::Script::{shift . '::'}); +    return exists($Irssi::Script::{$_[0] . '::'});  }  if (script_is_loaded('uberprompt')) { | 
