]> jfr.im git - solanum.git/blobdiff - modules/m_user.c
Remove the unneeded username parameter to register_local_user().
[solanum.git] / modules / m_user.c
index eece9d8acd1fb356f7e81c0832dbbd077a5d1fae..16fa9fc2d95a71b2b32824e09df320de8304ff43 100644 (file)
@@ -98,17 +98,12 @@ do_local_user(struct Client *client_p, struct Client *source_p,
        rb_strlcpy(source_p->info, realname, sizeof(source_p->info));
 
        if(!IsGotId(source_p))
-       {
-               /* This is in this location for a reason..If there is no identd
-                * and ping cookies are enabled..we need to have a copy of this
-                */
                rb_strlcpy(source_p->username, username, sizeof(source_p->username));
-       }
 
        if(source_p->name[0])
        {
                /* NICK already received, now I have USER... */
-               return register_local_user(client_p, source_p, username);
+               return register_local_user(client_p, source_p);
        }
 
        return 0;