Ignore:
Timestamp:
Apr 3, 2011, 3:06:01 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
5d4262c
Parents:
59425a3
git-author:
Nelson Elhage <nelhage@mit.edu> (02/26/11 20:43:58)
git-committer:
Nelson Elhage <nelhage@mit.edu> (04/03/11 15:06:01)
Message:
IRC: Remove the %reconnect hash.

Keep everything in the %ircnets hash, always. This should hopefully help fix
some really confusing bugs where we get multiple connections that think they
have the same alias.
File:
1 edited

Legend:

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

    r59425a3 r3713b86  
    379379    my $self = shift;
    380380    my $interval = shift || 5;
    381     $BarnOwl::Module::IRC::reconnect{$self->alias} = $self;
     381
    382382    my $weak = $self;
    383383    weaken($weak);
     
    397397sub cancel_reconnect {
    398398    my $self = shift;
    399     delete $BarnOwl::Module::IRC::reconnect{$self->alias};
     399
    400400    if (defined $self->{reconnect_timer}) {
    401401        $self->{reconnect_timer}->stop;
Note: See TracChangeset for help on using the changeset viewer.