/[svn]/ircd-hybrid/modules/m_user.c
ViewVC logotype

Diff of /ircd-hybrid/modules/m_user.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 501 by db, Fri Feb 17 05:07:43 2006 UTC revision 502 by michael, Fri Mar 3 19:49:25 2006 UTC
# Line 85  mr_user(struct Client *client_p, struct Line 85  mr_user(struct Client *client_p, struct
85      return;      return;
86    }    }
87    
88    source_p->flags |= FLAGS_GOTUSER;    source_p->localClient->registration &= ~REG_NEED_USER;
89    
90    /*    /*
91     * don't take the clients word for it, ever     * don't take the clients word for it, ever
# Line 103  mr_user(struct Client *client_p, struct Line 103  mr_user(struct Client *client_p, struct
103      strlcpy(source_p->username, parv[1], sizeof(source_p->username));      strlcpy(source_p->username, parv[1], sizeof(source_p->username));
104    }    }
105    
106    if (source_p->name[0] != '\0')    if (!source_p->localClient->registration)
   {  
107      /* NICK already received, now I have USER... */      /* NICK already received, now I have USER... */
108      register_local_user(source_p, parv[1]);      register_local_user(source_p, parv[1]);
   }  
109  }  }

Legend:
Removed from v.501  
changed lines
  Added in v.502

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28