X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fs_auth.c;h=71c86385db89e66b589a99c4abae9ecc37da5a65;hp=de5d64586de95ae303fb2cb799ac140b1bc6a4ca;hb=98c74ba6a77e8f110f03252eead8cd37e7ecc83e;hpb=6bd558bce586422e9ce8bc151067e9788196da4c diff --git a/ircd/s_auth.c b/ircd/s_auth.c index de5d645..71c8638 100644 --- a/ircd/s_auth.c +++ b/ircd/s_auth.c @@ -1328,12 +1328,6 @@ void start_auth(struct Client* client) /* Set unregistered numnick. */ auth_set_numnick(auth); - /* Try to start DNS lookup. */ - start_dns_query(auth); - - /* Try to start ident lookup. */ - start_auth_query(auth); - /* Set required client inputs for users. */ if (IsUserPort(client)) { cli_user(client) = make_user(client); @@ -1345,6 +1339,12 @@ void start_auth(struct Client* client) if(start_iauth_query(auth)) return; } + /* Try to start DNS lookup. */ + start_dns_query(auth); + + /* Try to start ident lookup. */ + start_auth_query(auth); + /* Add client to GlobalClientList. */ add_client_to_list(client);