Changeset 678f607


Ignore:
Timestamp:
Jan 23, 2012, 3:39:00 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.9
Children:
8135737, 7eaa83b
Parents:
ecfbdcc
git-author:
Alex Dehnert <adehnert@mit.edu> (10/02/11 01:31:54)
git-committer:
David Benjamin <davidben@mit.edu> (01/23/12 15:39:00)
Message:
Add completion for jabberlogout
File:
1 edited

Legend:

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

    rb8a3e00 r678f607  
    14821482}
    14831483
     1484sub complete_jabberlogout {
     1485    my $ctx = shift;
     1486    if($ctx->word == 1) {
     1487        return ("-A", complete_account() );
     1488    } else {
     1489        return ();
     1490    }
     1491}
     1492
    14841493BarnOwl::Completion::register_completer(jwrite => sub { BarnOwl::Module::Jabber::complete_jwrite(@_) });
     1494BarnOwl::Completion::register_completer(jabberlogout => sub { BarnOwl::Module::Jabber::complete_jabberlogout(@_) });
    14851495
    148614961;
Note: See TracChangeset for help on using the changeset viewer.