Last change
on this file since 8cec8f7 was
8cec8f7,
checked in by Jason Gross <jasongross9@gmail.com>, 7 years ago
|
Log loopbacks to loopback file in ~/zlog
Not to ~/zlog/loop{sender,recip}. If compatibility logging is on,
loopbacks get logged to ~/zlog/people/loopback, which is what happened
before this branch.
|
-
Property mode set to
100644
|
File size:
323 bytes
|
Line | |
---|
1 | use strict; |
---|
2 | use warnings; |
---|
3 | |
---|
4 | package BarnOwl::Message::Loopback; |
---|
5 | |
---|
6 | use base qw( BarnOwl::Message ); |
---|
7 | |
---|
8 | # all loopback messages are private |
---|
9 | sub is_private { |
---|
10 | return 1; |
---|
11 | } |
---|
12 | |
---|
13 | sub replycmd {return 'loopwrite';} |
---|
14 | sub replysendercmd {return 'loopwrite';} |
---|
15 | |
---|
16 | sub log_subfolder { return ''; } |
---|
17 | sub log_filenames { return ('loopback'); } |
---|
18 | |
---|
19 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.