]> andersk Git - moira.git/commitdiff
Don't require a valid account number if we're setting a host to be deleted.
authorzacheiss <zacheiss>
Mon, 5 Nov 2001 20:38:35 +0000 (20:38 +0000)
committerzacheiss <zacheiss>
Mon, 5 Nov 2001 20:38:35 +0000 (20:38 +0000)
server/qaccess.pc

index 9adb3591841dea1ceb3c81c05a1f87f32b14cebb..f6ea10440852c5130a0022c421142f253bc3b4f4 100644 (file)
@@ -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 
This page took 0.038662 seconds and 5 git commands to generate.