Ignore:
Timestamp:
Nov 15, 2009, 10:36:45 AM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f63a681
Parents:
01846ce
git-author:
Nelson Elhage <nelhage@mit.edu> (11/15/09 10:32:25)
git-committer:
Nelson Elhage <nelhage@mit.edu> (11/15/09 10:36:45)
Message:
Complete class names for the 'unsub' command.
File:
1 edited

Legend:

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

    r9300fe5 r3e8625f  
    4242}
    4343
     44sub complete_unsub {
     45    my $ctx = shift;
     46    return unless $ctx->word == 1;
     47    return complete_class();
     48}
     49
    4450sub on_message {
    4551    my $m = shift;
     
    5965BarnOwl::Completion::register_completer(vu        => \&complete_viewuser);
    6066
     67BarnOwl::Completion::register_completer(unsub     => \&complete_unsub);
     68
    6169$BarnOwl::Hooks::newMessage->add("BarnOwl::Complete::Zephyr::on_message");
    6270
Note: See TracChangeset for help on using the changeset viewer.