]> andersk Git - moira.git/blobdiff - server/qaccess.pc
Don't require a valid account number if we're setting a host to be deleted.
[moira.git] / 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.045825 seconds and 4 git commands to generate.