Ignore:
Timestamp:
Apr 3, 2011, 3:06:01 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
249bbbe
Parents:
4787581
git-author:
Nelson Elhage <nelhage@mit.edu> (02/26/11 20:06:50)
git-committer:
Nelson Elhage <nelhage@mit.edu> (04/03/11 15:06:01)
Message:
IRC: Remove circular references between ::Connection and its Client.
File:
1 edited

Legend:

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

    r8ba9313 r851a0e0  
    389389        timeout   => sub {0}
    390390       });
     391    $ircnets{$alias} = $conn;
    391392    return;
    392393}
     
    395396    my $cmd = shift;
    396397    my $conn = shift;
    397     if ($conn->conn->is_connected) {
     398    if ($conn->conn->{socket}) {
    398399        $conn->conn->disconnect("Goodbye!");
    399400    } elsif ($reconnect{$conn->alias}) {
Note: See TracChangeset for help on using the changeset viewer.