summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/communigate_pro.pm
diff options
context:
space:
mode:
authorivan <ivan>2003-11-20 12:48:11 +0000
committerivan <ivan>2003-11-20 12:48:11 +0000
commit34869715ef86c3cfbb808c051746988e2ec76490 (patch)
treef35d2a13cbd1f8233f9a1ad589802d30e6a1b3f1 /FS/FS/part_export/communigate_pro.pm
parenta3b660670b6c553563cd6095fe2d14754af56341 (diff)
don't error out when not actually changing domain
Diffstat (limited to 'FS/FS/part_export/communigate_pro.pm')
-rw-r--r--FS/FS/part_export/communigate_pro.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/communigate_pro.pm b/FS/FS/part_export/communigate_pro.pm
index aa038f0..557aad9 100644
--- a/FS/FS/part_export/communigate_pro.pm
+++ b/FS/FS/part_export/communigate_pro.pm
@@ -31,10 +31,10 @@ sub _export_insert {
sub _export_replace {
my( $self, $new, $old ) = (shift, shift, shift);
- return "can't (yet) change domain with CommuniGate Pro"
- if $old->domain ne $new->domain;
return "can't (yet) change username with CommuniGate Pro"
if $old->username ne $new->username;
+ return "can't (yet) change domain with CommuniGate Pro"
+ if $self->export_username($old) ne $self->export_username($new);
return "can't (yet) change GECOS with CommuniGate Pro"
if $old->finger ne $new->finger;
return "can't (yet) change quota with CommuniGate Pro"