diff options
author | ivan <ivan> | 2002-02-22 09:01:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-02-22 09:01:08 +0000 |
commit | f430dd9ec58e429c2ddc7c3c83aeaf8d8c74c4fd (patch) | |
tree | 8cc8fe713a75c6566293704db8c82db13c888c21 | |
parent | 1cd0fc70e60e5ecccb10e2bd4dae112a53dde330 (diff) |
correctly disable/enable accounts @ CP
-rw-r--r-- | FS/FS/svc_acct.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 314a7527b..b90cbe8d3 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -843,12 +843,16 @@ sub cp_change { if ( $password =~ /^\*SUSPENDED\* (.*)$/ ) { $password = $1; $app->set_mailbox_status( - Other => 'T', + Domain => $mydomain, + Mailbox => $username, + Other => 'T', Other_Bounce => 'T', ); } else { $app->set_mailbox_status( - Other => 'F', + Domain => $mydomain, + Mailbox => $username, + Other => 'F', Other_Bounce => 'F', ); } |