Remove the unneeded username parameter to register_local_user().
This commit is contained in:
parent
83e5941c87
commit
2125182293
7 changed files with 13 additions and 30 deletions
|
@ -110,10 +110,8 @@ mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char *
|
|||
{
|
||||
if(source_p->localClient->random_ping == incoming_ping)
|
||||
{
|
||||
char buf[USERLEN + 1];
|
||||
rb_strlcpy(buf, source_p->username, sizeof(buf));
|
||||
source_p->flags |= FLAGS_PING_COOKIE;
|
||||
register_local_user(client_p, source_p, buf);
|
||||
register_local_user(client_p, source_p);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue