summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2012-02-09 10:46:34 +0000
committerivan <ivan>2012-02-09 10:46:34 +0000
commit6e801ef5791a2e91a20e9ce3db47207e8e0a7b71 (patch)
treeaece5648ed615bc48e43a00fbee10248b1164bd7
parent96d06932dd9192ebe8715569fbff258788969d8a (diff)
spam settings, RT#15987
-rw-r--r--FS/FS/part_export/status_shellcommands.pm25
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'}
+ )
+ ;
}