release-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since f987504 was
ee183be,
checked in by Nelson Elhage <nelhage@mit.edu>, 16 years ago
|
Break perlwrap.pm into multiple files.
Break perlwrap.pm out into .pm files in perl/lib. With this commit, we
keep perlwrap.pm around and still load it as before. The next commit
will delete perlwrap.pm and start loading perl files directly from
disk at runtime.
|
-
Property mode set to
100644
|
File size:
470 bytes
|
Line | |
---|
1 | use strict; |
---|
2 | use warnings; |
---|
3 | |
---|
4 | package BarnOwl::Message::AIM; |
---|
5 | |
---|
6 | use base qw( BarnOwl::Message ); |
---|
7 | |
---|
8 | # all non-loginout AIM messages are private for now... |
---|
9 | sub is_private { |
---|
10 | return !(shift->is_loginout); |
---|
11 | } |
---|
12 | |
---|
13 | sub replycmd { |
---|
14 | my $self = shift; |
---|
15 | if ($self->is_incoming) { |
---|
16 | return "aimwrite " . BarnOwl::quote($self->sender); |
---|
17 | } else { |
---|
18 | return "aimwrite " . BarnOwl::quote($self->recipient); |
---|
19 | } |
---|
20 | } |
---|
21 | |
---|
22 | sub replysendercmd { |
---|
23 | return shift->replycmd; |
---|
24 | } |
---|
25 | |
---|
26 | |
---|
27 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.