Ignore:
Timestamp:
Oct 27, 2009, 2:15:08 PM (14 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
7ca5d3e
Parents:
e7f5970 (diff), f1a2736 (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 branch 'io_dispatch_rewrite'
Location:
perl/modules/IRC/lib/BarnOwl/Module
Files:
2 edited

Legend:

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

    rda554da rf1a2736  
    381381        $ircnets{$alias} = $conn;
    382382        my $fd = $conn->getSocket()->fileno();
    383         BarnOwl::add_dispatch($fd, \&OwlProcess);
     383        BarnOwl::add_io_dispatch($fd, 'r', \&OwlProcess);
    384384        $conn->{FD} = $fd;
    385385    } else {
  • perl/modules/IRC/lib/BarnOwl/Module/IRC/Connection.pm

    r7cfb1df rf1a2736  
    210210        }
    211211    }
    212     BarnOwl::remove_dispatch($self->{FD});
     212    BarnOwl::remove_io_dispatch($self->{FD});
    213213    BarnOwl::admin_message('IRC',
    214214                           "[" . $self->alias . "] Disconnected from server");
Note: See TracChangeset for help on using the changeset viewer.