Ignore:
Timestamp:
Sep 20, 2011, 11:15:33 PM (11 years ago)
Author:
Edward Z. Yang <ezyang@mit.edu>
Branches:
master, release-1.9
Children:
f4037cf
Parents:
1d11b78
git-author:
Edward Z. Yang <ezyang@mit.edu> (07/30/11 23:27:31)
git-committer:
Edward Z. Yang <ezyang@mit.edu> (09/20/11 23:15:33)
Message:
Wordwrap, write the config, style wibbles.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Facebook/lib/BarnOwl/Module/Facebook.pm

    r395d304 r7efa163  
    6161#BarnOwl::new_command('facebook-message' => \&cmd_facebook_direct, {
    6262#    summary     => 'Send a Facebook message',
    63 #    usage       => 'twitter-direct USER',
    64 #    description => 'Send a private Facebook Message to USER.'
     63#    usage       => 'facebook-message USER',
     64#    description => 'Send a private Facebook message to USER.'
    6565#});
    6666
     
    9393    BarnOwl::start_edit_win(
    9494        defined $user ? "Write something to $user..." : "What's on your mind?",
    95         sub{ $facebook_handle->facebook($user, shift) }
     95        sub { $facebook_handle->facebook($user, shift) }
    9696    );
    9797}
     
    132132sub check_ready {
    133133    if (!$facebook_handle->{logged_in}) {
    134         BarnOwl::message("Need to login to Facebook first with ':facebook-auth'.");
     134        BarnOwl::message("You need to login to Facebook first with ':facebook-auth'.");
    135135        return 0;
    136136    }
     
    139139
    140140BarnOwl::filter(qw{facebook type ^facebook$});
     141BarnOwl::bindkey(qw(recv f command facebook));
    141142
    142143sub complete_user { return keys %{$facebook_handle->{friends}}; }
Note: See TracChangeset for help on using the changeset viewer.