diff options
author | Tom Feist <shabble@metavore.org> | 2010-09-30 19:55:00 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2010-09-30 19:55:00 +0000 |
commit | aa51fbc616e960251606a36f35f41e0081d8ad99 (patch) | |
tree | 8a411a6b99de79d81d49fa8531cf986a68886822 /vim-mode/vim_mode.pl | |
parent | vim_mode: Fix C not to move one character to the left. (diff) | |
download | irssi-scripts-aa51fbc616e960251606a36f35f41e0081d8ad99.tar.gz irssi-scripts-aa51fbc616e960251606a36f35f41e0081d8ad99.zip |
removed // defined-or to allow 5.8 users to play.
Diffstat (limited to '')
-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 f7705ed..0263876 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -838,7 +838,7 @@ sub cmd_ex_command { my $rep_fun = sub { $replace }; my $line = _input(); - my @re_flags = split '', $flags // ''; + my @re_flags = split '', defined $flags:$flags:''; if (scalar grep { $_ eq 'i' } @re_flags) { $search = '(?i)' . $search; |