Ignore:
Timestamp:
Aug 20, 2008, 2:16:43 AM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
aef51f8
Parents:
5987370
Message:
Support string hook entries.
perlwrap.pm: Support calling and adding string hook entries in BarnOwl::Hook
IRC.pm: Switch our hooks to use string entries
Jabber.pm: Switch our hooks to use string entries
ModuleLoader.pm: No longer clear all hooks on reload

This should have the net effect that we can safely reload single
modules.
File:
1 edited

Legend:

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

    r5987370 r167044b  
    103103                         BarnOwl/Message.pm BarnOwl/Style.pm));
    104104
    105     $BarnOwl::Hooks::startup->clear;
    106     $BarnOwl::Hooks::getBuddyList->clear;
    107     $BarnOwl::Hooks::mainLoop->clear;
    108     $BarnOwl::Hooks::shutdown->clear;
    109     $BarnOwl::Hooks::receiveMessage->clear;
    110105    local $SIG{__WARN__} = \&squelch_redefine;
    111106    $class->load_all;
Note: See TracChangeset for help on using the changeset viewer.