Changeset 380b1ab


Ignore:
Timestamp:
Jan 9, 2008, 1:26:19 AM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
6286f26
Parents:
0e52069
git-author:
Nelson Elhage <nelhage@mit.edu> (01/09/08 01:23:14)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/09/08 01:26:19)
Message:
import is_private from ::Connection
File:
1 edited

Legend:

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

    r0e52069 r380b1ab  
    1717use BarnOwl::Hooks;
    1818use BarnOwl::Message::IRC;
    19 use BarnOwl::Module::IRC::Connection;
     19use BarnOwl::Module::IRC::Connection qw(is_private);
    2020
    2121use Net::IRC;
     
    194194}
    195195
    196 # Determines if the given message recipient is a username, as opposed to
    197 # a channel that starts with # or &.
    198 sub is_private {
    199     return shift !~ /^[\#\&]/;
    200 }
    201 
    2021961;
Note: See TracChangeset for help on using the changeset viewer.