aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-09-30 19:55:00 +0000
committerTom Feist <shabble@metavore.org>2010-09-30 19:55:00 +0000
commitaa51fbc616e960251606a36f35f41e0081d8ad99 (patch)
tree8a411a6b99de79d81d49fa8531cf986a68886822 /vim-mode
parentvim_mode: Fix C not to move one character to the left. (diff)
downloadirssi-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.pl2
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;