Ignore:
Timestamp:
Mar 11, 2012, 11:44:39 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
release-1.8
Children:
3965ec3d
Parents:
b148387
git-author:
Anders Kaseorg <andersk@mit.edu> (10/13/11 03:03:07)
git-committer:
David Benjamin <davidben@mit.edu> (03/11/12 23:44:39)
Message:
Stop pretending to support zwrite *

‘*’ is not a valid recipient, and pretending that it is just adds more
special cases to get wrong.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Message/Zephyr.pm

    redd0be7 r91882d6  
    171171        $class = $self->class;
    172172        $instance = $self->instance;
    173         if ($self->recipient eq '*' || $self->recipient eq '') {
    174             $to = '';
    175         } elsif ($self->recipient =~ /^@/) {
     173        if ($self->recipient eq '' || $self->recipient =~ /^@/) {
    176174            $to = $self->recipient;
    177175        } else {
Note: See TracChangeset for help on using the changeset viewer.