git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1663
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2006-06-07 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/s_auth.c (auth_ping_timeout): If the client never had an
+ auth request, kill them on ping timeout.
+
2006-06-05 Michael Poole <mdpoole@troilus.org>
* ircd/s_auth.c (auth_timeout_callback): Clear AR_DNS_PENDING when
auth = cli_auth(cptr);
+ /* Check whether the auth request is gone (more likely, it never
+ * existed, as in an outbound server connection). */
+ if (!auth)
+ return exit_client_msg(cptr, cptr, &me, "Registration Timeout");
+
/* Check for a user-controlled timeout. */
for (flag = 0; flag <= AR_LAST_SCAN; ++flag) {
if (FlagHas(&auth->flags, flag)) {