Changeset 380b1ab for perl/modules/IRC
- Timestamp:
- Jan 9, 2008, 1:26:19 AM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/IRC/lib/BarnOwl/Module/IRC.pm
r0e52069 r380b1ab 17 17 use BarnOwl::Hooks; 18 18 use BarnOwl::Message::IRC; 19 use BarnOwl::Module::IRC::Connection ;19 use BarnOwl::Module::IRC::Connection qw(is_private); 20 20 21 21 use Net::IRC; … … 194 194 } 195 195 196 # Determines if the given message recipient is a username, as opposed to197 # a channel that starts with # or &.198 sub is_private {199 return shift !~ /^[\#\&]/;200 }201 202 196 1;
Note: See TracChangeset
for help on using the changeset viewer.