#include <string.h>
#include "ircd_auth.h"
+#include "ircd_sock.h"
#include "struct_auth.h"
#include "struct_connection.h"
#include "ircd_client.h"
socket_printf(conn, "NOTICE AUTH :*** NextIRCd v%d.%d (%s)", VERSION_NUMBER, patchlevel, revision);
auth->conn = conn;
+ conn->data.auth = auth;
time(&auth->startup_time);
auth->prev = authlist_last;
if(!auth->have_nick || !auth->have_user)
return;
if(!auth->sent_ping) {
-
auth->sent_ping = 1;
} else if(auth->have_pong && auth->have_dnsresolv) {
struct Client *client = client_connected(auth);