nick *np = (nick *)arg;
rq_fasttrack *ft;
+ np->exts[rqnext] = NULL;
+
/* Auth might be null for the newnick hook. */
if(!np->auth)
return;
now = getnettime();
- pft = &ftlist;
-
- for(ft=*pft;*pft;pft=&((*pft)->next)) {
+ for(pft=&ftlist;*pft;pft=&((*pft)->next)) {
int foundnick = 0;
+ ft = *pft;
+
for(j=0;j<NICKHASHSIZE && !foundnick;j++) {
for(tnp=nicktable[j];tnp;tnp=tnp->next) {
if(tnp->exts[rqnext]==ft) {