diff options
author | Tom Feist <shabble@metavore.org> | 2011-02-19 12:37:13 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-02-19 12:37:13 +0000 |
commit | 38081597b2887cfdf67cc73f6a10e70189e8d045 (patch) | |
tree | a94a49fa6d74edb4f127afbb9d40b40e1d451357 /vim-mode/vim_mode.pl | |
parent | try to keep track of forwarded channels (#foo -> ##foo) and /j takes you to teh (diff) | |
download | irssi-scripts-38081597b2887cfdf67cc73f6a10e70189e8d045.tar.gz irssi-scripts-38081597b2887cfdf67cc73f6a10e70189e8d045.zip |
fixed deprecated warning on defined (%hash)
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r-- | vim-mode/vim_mode.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 7d898ab..d850d63 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -618,7 +618,7 @@ sub script_is_loaded { my $name = shift; print "Checking if $name is loaded" if DEBUG; no strict 'refs'; - my $retval = defined %{ "Irssi::Script::${name}::" }; + my $retval = %{ "Irssi::Script::${name}::" }; use strict 'refs'; return $retval; |