diff options
| author | ivan <ivan> | 2012-02-09 10:46:34 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2012-02-09 10:46:34 +0000 |
| commit | 6e801ef5791a2e91a20e9ce3db47207e8e0a7b71 (patch) | |
| tree | aece5648ed615bc48e43a00fbee10248b1164bd7 | |
| parent | 96d06932dd9192ebe8715569fbff258788969d8a (diff) | |
spam settings, RT#15987
| -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 6b189097b..3f6bd9580 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'} + ) + ; } |
