+ if(auth->server) {
+
+ } else {
+ if(!auth->have_nick || !auth->have_user)
+ return;
+ if(!auth->sent_ping) {
+ auth->sent_ping = 1;
+ socket_printf(auth->conn, ":AUTH PING :%d", auth->startup_time);
+ } else if(auth->have_pong && auth->have_dnsresolv) {
+ struct Client *client = client_connected(auth);
+ auth->conn->authed = 1;
+ auth->conn->data.client = client;
+ auth_free(auth);
+ }
+ }
+}
+
+void auth_abort(struct Auth *auth) {
+
+}