diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/aspell_complete.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/aspell_complete.pl b/scripts/aspell_complete.pl index da8d08c..93b2145 100644 --- a/scripts/aspell_complete.pl +++ b/scripts/aspell_complete.pl @@ -18,7 +18,7 @@ use vars qw($VERSION %IRSSI); use Irssi; use Text::Aspell; -$VERSION = '1.00'; +$VERSION = '1.01'; %IRSSI = ( authors => 'Philipp Haegi', contact => 'phaegi\@mimir.ch', @@ -59,7 +59,7 @@ sub rotate_dict() { Irssi::signal_add_last 'complete word' => sub { my ($complist, $window, $word, $linestart, $want_space) = @_; - push(@$complist, $speller->suggest( $word )); + push(@$complist, grep { defined } $speller->suggest( $word )); # eliminate null pointers }; |
