mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
fix for setpass issue
This commit is contained in:
@@ -1581,7 +1581,7 @@ void change_pass(User *user, char *pass)
|
|||||||
char *enc;
|
char *enc;
|
||||||
|
|
||||||
enc = makepass(pass);
|
enc = makepass(pass);
|
||||||
if (strlen(user->pass) <= strlen(enc))
|
if (user->pass && strlen(user->pass) <= strlen(enc))
|
||||||
{
|
{
|
||||||
stringcpy(user->pass,enc);
|
stringcpy(user->pass,enc);
|
||||||
#ifdef BOTNET
|
#ifdef BOTNET
|
||||||
|
|||||||
Reference in New Issue
Block a user