Changeset 4af1241


Ignore:
Timestamp:
Oct 2, 2011, 1:31:54 AM (10 years ago)
Author:
Alex Dehnert <adehnert@mit.edu>
Children:
7eaa83b
Parents:
f34728b
Message:
Add completion for jabberlogout
File:
1 edited

Legend:

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

    rb8a3e00 r4af1241  
    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.