ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/modules/m_user.c
(Generate patch)

Comparing ircd-hybrid/modules/m_user.c (file contents):
Revision 442 by adx, Sat Feb 11 23:14:21 2006 UTC vs.
Revision 458 by michael, Sun Feb 12 20:45:14 2006 UTC

# Line 64 | Line 64 | static void
64   mr_user(struct Client *client_p, struct Client *source_p,
65          int parc, char *parv[])
66   {
67 <  char *p;
67 >  char *p = NULL;
68 >
69 >  assert(source_p == client_p);
70  
71    if ((p = strchr(parv[1],'@')) != NULL)
72      *p = '\0';
# Line 104 | Line 106 | mr_user(struct Client *client_p, struct
106    if (source_p->name[0] != '\0')
107    {
108      /* NICK already received, now I have USER... */
109 <    register_local_user(client_p, source_p, source_p->name, parv[1]);
109 >    register_local_user(source_p, parv[1]);
110    }
111   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines