Changeset f1a2736 for perl/modules/IRC


Ignore:
Timestamp:
Oct 27, 2009, 12:41:17 AM (12 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
050d25e
Parents:
6fc40a7
git-author:
Alejandro R. Sedeño <asedeno@mit.edu> (10/24/09 20:58:04)
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> (10/27/09 00:41:17)
Message:
Switch perl modules to the new I/O Dispatch API.

Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
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.