}
unless (@local_hosts and ipin($ra,@local_hosts) or
- @local_rhosts and ipin($ra,@local_rhosts)) {
+ @local_rdomains and @local_rhosts and
+ (not @registration_hosts or ipin($ra,@registration_hosts))) {
html_error($error,
"Registrations from your host ($ra) are not allowed.",
"Contact $ENV{SERVER_ADMIN} for details."