Ignore:
Timestamp:
Jan 12, 2013, 1:43:31 PM (11 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Parents:
4626016 (diff), 7869e48 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge 7869e4801e577613b7db987d11bddb0a31fe755c into 46260161946c87dfed4fef9e3223b2327895f139
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Hooks.pm

    rb8a3e00 r7869e48  
    1212
    1313C<BarnOwl::Hooks> exports a set of C<BarnOwl::Hook> objects made
    14 available by BarnOwl internally. 
     14available by BarnOwl internally.
    1515
    1616=head2 USAGE
     
    135135        package BarnOwl;
    136136        if(*BarnOwl::format_msg{CODE}) {
    137             # if the config defines a legacy formatting function, add 'perl' as a style 
     137            # if the config defines a legacy formatting function, add 'perl' as a style
    138138            BarnOwl::create_style("perl", BarnOwl::Style::Legacy->new(
    139139                "BarnOwl::format_msg",
     
    163163        BarnOwl::error("Can't load BarnOwl::ModuleLoader, loadable module support disabled:\n$@");
    164164    }
    165    
     165
    166166    $mainLoop->check_owlconf();
    167167    $startup->run(0);
     
    171171sub _shutdown {
    172172    $shutdown->run;
    173    
     173
    174174    BarnOwl::shutdown() if *BarnOwl::shutdown{CODE};
    175175}
     
    179179
    180180    $receiveMessage->run($m);
    181    
     181
    182182    BarnOwl::receive_msg($m) if *BarnOwl::receive_msg{CODE};
    183183}
     
    187187
    188188    $newMessage->run($m);
    189    
     189
    190190    BarnOwl::new_msg($m) if *BarnOwl::new_msg{CODE};
    191191}
Note: See TracChangeset for help on using the changeset viewer.