122 |
|
client_p->since = client_p->lasttime = client_p->firsttime = CurrentTime; |
123 |
|
|
124 |
|
client_p->localClient = BlockHeapAlloc(lclient_heap); |
125 |
+ |
client_p->localClient->registration = REG_INIT; |
126 |
|
/* as good a place as any... */ |
127 |
|
dlinkAdd(client_p, make_dlink_node(), &unknown_list); |
128 |
|
} |
1338 |
|
|
1339 |
|
/* This had to be copied here to avoid problems.. */ |
1340 |
|
source_p->tsinfo = CurrentTime; |
1341 |
+ |
source_p->localClient->registration &= ~REG_NEED_NICK; |
1342 |
|
|
1343 |
|
if (source_p->name[0]) |
1344 |
|
hash_del_client(source_p); |
1352 |
|
/* They have the nick they want now.. */ |
1353 |
|
client_p->llname[0] = '\0'; |
1354 |
|
|
1355 |
< |
if (source_p->flags & FLAGS_GOTUSER) |
1355 |
> |
if (!source_p->localClient->registration) |
1356 |
|
{ |
1357 |
|
strlcpy(buf, source_p->username, sizeof(buf)); |
1358 |
|
|