diff options
| author | Tom Feist <shabble@metavore.org> | 2010-10-13 11:37:23 +0000 | 
|---|---|---|
| committer | Tom Feist <shabble@metavore.org> | 2010-10-13 11:37:23 +0000 | 
| commit | 3eb58a871f1c6d9697d479a0237fd33d628eb414 (patch) | |
| tree | aec54282cdb914a19789f868ae810012eef961ce | |
| parent | fixed undef bug in uberprompt (diff) | |
| download | irssi-scripts-3eb58a871f1c6d9697d479a0237fd33d628eb414.tar.gz irssi-scripts-3eb58a871f1c6d9697d479a0237fd33d628eb414.zip | |
removed a defined-or which needs perl 5.10
| -rw-r--r-- | history-search/rl_history_search.pl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/history-search/rl_history_search.pl b/history-search/rl_history_search.pl index 32d42a3..eebb6c7 100644 --- a/history-search/rl_history_search.pl +++ b/history-search/rl_history_search.pl @@ -139,7 +139,7 @@ sub update_history_prompt {  sub update_history_matches {      my ($match_str) = @_; -    $match_str //= $search_str; +    $match_str = $search_str unless defined $match_str;      my %unique;      my @matches = grep { m/\Q$match_str/i } @history_cache; | 
