projects
/
NextIRCd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
push
[NextIRCd.git]
/
src
/
ircd_auth.c
diff --git
a/src/ircd_auth.c
b/src/ircd_auth.c
index 22325f484e491da3072907098369ded701647b08..5634038747e984b09e4b04ca31fffc9e6e89b495 100644
(file)
--- a/
src/ircd_auth.c
+++ b/
src/ircd_auth.c
@@
-17,6
+17,7
@@
#include <string.h>
#include "ircd_auth.h"
#include <string.h>
#include "ircd_auth.h"
+#include "ircd_sock.h"
#include "struct_auth.h"
#include "struct_connection.h"
#include "ircd_client.h"
#include "struct_auth.h"
#include "struct_connection.h"
#include "ircd_client.h"
@@
-89,7
+90,6
@@
void auth_try_finish(struct Auth *auth) {
if(!auth->have_nick || !auth->have_user)
return;
if(!auth->sent_ping) {
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);
auth->sent_ping = 1;
} else if(auth->have_pong && auth->have_dnsresolv) {
struct Client *client = client_connected(auth);