Ignore:
Timestamp:
Jul 23, 2008, 8:18:30 PM (12 years ago)
Author:
Geoffrey Thomas <geofft@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
38cfdb5d
Parents:
0398d55
Message:
IRC: Add :irc-topic support and on_topic/on_topicinfo callbacks.
File:
1 edited

Legend:

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

    rf094fc4 r3ad15ff  
    117117    BarnOwl::new_command('irc-who'        => \&cmd_who);
    118118    BarnOwl::new_command('irc-stats'      => \&cmd_stats);
     119    BarnOwl::new_command('irc-topic'      => \&cmd_topic);
    119120}
    120121
     
    301302}
    302303
     304sub cmd_topic {
     305    my $cmd = shift;
     306    my $conn = get_connection(\@_);
     307    $conn->conn->topic(@_);
     308}
     309
    303310################################################################################
    304311########################### Utilities/Helpers ##################################
Note: See TracChangeset for help on using the changeset viewer.