From c862fa4e7a42eb6666a16af1aff28e1e10ae715b Mon Sep 17 00:00:00 2001 From: zacheiss Date: Mon, 5 Nov 2001 20:38:35 +0000 Subject: [PATCH] Don't require a valid account number if we're setting a host to be deleted. --- server/qaccess.pc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/qaccess.pc b/server/qaccess.pc index 9adb3591..f6ea1044 100644 --- a/server/qaccess.pc +++ b/server/qaccess.pc @@ -491,7 +491,8 @@ int access_host(struct query *q, char *argv[], client *cl) /* Non query owner must provide valid billing information. */ if (q->version >= 8) { - if (subnet_status == SNET_STATUS_BILLABLE) + if ((subnet_status == SNET_STATUS_BILLABLE) && + (atoi(argv[10]) != 3)) { account_number = argv[8]; EXEC SQL SELECT account_number FROM accountnumbers -- 2.45.2