aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-02-19 12:37:13 +0000
committerTom Feist <shabble@metavore.org>2011-02-19 12:37:13 +0000
commit38081597b2887cfdf67cc73f6a10e70189e8d045 (patch)
treea94a49fa6d74edb4f127afbb9d40b40e1d451357 /vim-mode/vim_mode.pl
parenttry to keep track of forwarded channels (#foo -> ##foo) and /j takes you to teh (diff)
downloadirssi-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.pl2
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;