Changeset fa0114b


Ignore:
Timestamp:
Dec 21, 2009, 5:36:30 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
7574eed
Parents:
2b66c361
Message:
_get_blist: Correctly strip leading and trailing whitespace.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Hooks.pm

    r2b66c361 rfa0114b  
    185185sub _get_blist {
    186186    my @results = $getBuddyList->run;
    187     s/^\s+|\s+$// for (@results);
     187    s/^\s+|\s+$//sg for (@results);
    188188    return join("\n", @results);
    189189}
Note: See TracChangeset for help on using the changeset viewer.