release-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since da554da was
7011c3dc,
checked in by Anders Kaseorg <andersk@mit.edu>, 15 years ago
|
BarnOwl::Message::AIM: Use multi-argument quote.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
-
Property mode set to
100644
|
File size:
466 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 BarnOwl::quote('aimwrite', $self->sender); |
---|
17 | } else { |
---|
18 | return BarnOwl::quote('aimwrite', $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.