iauth: Send an empty "u" message on ident lookup failure.
[ircu2.10.12-pk.git] / ircd / s_auth.c
index ddeabbc38d8d3e2c00efed37bcd07ce1eac4203b..83693a24a48125df9150291bdddfcaabc5c59e36 100644 (file)
@@ -679,6 +679,8 @@ static void read_auth_reply(struct AuthRequest* auth)
     if (IsUserPort(auth->client))
       sendheader(auth->client, REPORT_FAIL_ID);
     ++ServerStats->is_abad;
+    if (IAuthHas(iauth, IAUTH_UNDERNET))
+      sendto_iauth(auth->client, "u");
   } else {
     if (IsUserPort(auth->client))
       sendheader(auth->client, REPORT_FIN_ID);