diff options
author | ivan <ivan> | 2007-09-12 03:39:15 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-09-12 03:39:15 +0000 |
commit | 0f96c028d39c22135e541fe8307441b100ce9a84 (patch) | |
tree | b8e0c49cb3731c8d977d2c40682f3ff7ab62d68a /FS | |
parent | 6f7d4483b99c758e112cbe5a3a6a34617f80fce7 (diff) |
fix "Useless use of a variable in void context at /usr/local/share/perl/5.8.8/FS/svc_domain.pm line 367." that might have possible set an incorrest svc_domain.suffix
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/svc_domain.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index 7ae996178..37128a09f 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -364,7 +364,7 @@ sub check { # need to match a list of suffixes - no guarantee they're top-level.. # http://wiki.mozilla.org/TLD_List # but this will have to do for now... - $recref->{suffix} || $2; + $recref->{suffix} ||= $2; } else { return "Illegal domain ". $recref->{domain}. " (or unknown registry - try \$whois_hack)"; |