m_pass.c fix
This commit is contained in:
parent
b3f899591d
commit
38cbb0a259
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ mr_pass(struct Client *client_p, struct Client *source_p, int parc, const char *
|
||||||
rb_free(client_p->localClient->passwd);
|
rb_free(client_p->localClient->passwd);
|
||||||
}
|
}
|
||||||
|
|
||||||
DupNString(client_p->localClient->passwd, parv[1], PASSWDLEN);
|
client_p->localClient->passwd = rb_strndup(parv[1], PASSWDLEN);
|
||||||
|
|
||||||
/* These are for servers only */
|
/* These are for servers only */
|
||||||
if(parc > 2 && client_p->user == NULL)
|
if(parc > 2 && client_p->user == NULL)
|
||||||
|
|
Loading…
Reference in a new issue