diff options
author | ivan <ivan> | 2012-02-09 10:46:33 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-02-09 10:46:33 +0000 |
commit | 032921734aad82c83481d9098aa38361d3980e98 (patch) | |
tree | 3178d8c911108fcd12f5825e13a77053d5c8c5d3 /FS/FS/part_export/status_shellcommands.pm | |
parent | 7d89300a76d37f18d081598a8ada4f1b4dc66d8b (diff) |
spam settings, RT#15987
Diffstat (limited to 'FS/FS/part_export/status_shellcommands.pm')
-rw-r--r-- | FS/FS/part_export/status_shellcommands.pm | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/FS/FS/part_export/status_shellcommands.pm b/FS/FS/part_export/status_shellcommands.pm index 6b18909..3f6bd95 100644 --- a/FS/FS/part_export/status_shellcommands.pm +++ b/FS/FS/part_export/status_shellcommands.pm @@ -51,19 +51,18 @@ sub export_setstatus { $self->shellcommands_queue( @shallargs, 'command' => $self->option('spam_enable'). ' '. shell_quote($svc_acct->email) - ); - - $self->shellcommands_queue( @shallargs, 'command' => - $self->option('spam_tag2_level'). ' '. - shell_quote($svc_acct->email). ' '. - $hashref->{'spam_tag2_level'} - ); - - $self->shellcommands_queue( @shallargs, 'command' => - $self->option('spam_kill_level'). ' '. - shell_quote($svc_acct->email). ' '. - $hashref->{'spam_kill_level'} - ); + ) + || $self->shellcommands_queue( @shallargs, 'command' => + $self->option('spam_tag2_level'). ' '. + shell_quote($svc_acct->email). ' '. + $hashref->{'spam_tag2_level'} + ) + || $self->shellcommands_queue( @shallargs, 'command' => + $self->option('spam_kill_level'). ' '. + shell_quote($svc_acct->email). ' '. + $hashref->{'spam_kill_level'} + ) + ; } |