- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/IRC/lib/BarnOwl/Message/IRC.pm
rb38b0b2 r0e52069 36 36 return $filter; 37 37 } else { 38 # Unimplemented 39 return undef; 38 # To a Channel 39 my $network = $self->network; 40 my $channel = $self->channel; 41 my $filter = "irc-$network-channel-$channel"; 42 my $ftext = qq{type ^irc\$ and network ^$network\$ and channel ^$channel\$}; 43 BarnOwl::filter("$filter $ftext"); 44 return $filter; 40 45 } 41 46 } … … 43 48 sub server {shift->{server}} 44 49 sub network {shift->{network}} 50 sub channel {shift->{channel}} 45 51 46 52 # display 47 sub context {shift->{channel};} 53 sub context {shift->{network};} 54 sub subcontext {shift->{recipient};} 48 55 49 56 sub long_sender {shift->{from} || ""};
Note: See TracChangeset
for help on using the changeset viewer.