authproc: set GOT_ID flag when an ident response is received

This commit is contained in:
Simon Arlott 2016-04-23 15:41:27 +01:00
parent 1729f46eab
commit e7c4cf63bc
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -461,6 +461,7 @@ authd_decide_client(struct Client *client_p, const char *ident, const char *host
if(*ident != '*') if(*ident != '*')
{ {
rb_strlcpy(client_p->username, ident, sizeof(client_p->username)); rb_strlcpy(client_p->username, ident, sizeof(client_p->username));
SetGotId(client_p);
ServerStats.is_asuc++; ServerStats.is_asuc++;
} }
else else