Changeset 6249a76d


Ignore:
Timestamp:
Feb 1, 2010, 2:20:18 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
538a5f7
Parents:
bdb7c26
git-author:
Brian Sniffen <bts@evenmere.org> (01/31/10 17:49:51)
git-committer:
Nelson Elhage <nelhage@mit.edu> (02/01/10 14:20:18)
Message:
Restore lost handle_message hook.

This was accidentally deleted in commit
36546fa4ddc4de9c607b0f7bb76f8041360cf9f1 when we removed the mainloop
hook.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/BarnOwl/Module/Twitter.pm

    r8f19ba3 r6249a76d  
    374374}
    375375
     376eval {
     377    $BarnOwl::Hooks::receiveMessage->add("BarnOwl::Module::Twitter::handle_message");
     378};
     379if($@) {
     380    $BarnOwl::Hooks::receiveMessage->add(\&handle_message);
     381}
     382
     383
     384
    376385BarnOwl::filter(qw{twitter type ^twitter$});
    377386
Note: See TracChangeset for help on using the changeset viewer.