m_webirc: use rb_crypt() instead of crypt()
This commit is contained in:
parent
0c0fc97605
commit
f24b187a8e
|
@ -107,7 +107,7 @@ mr_webirc(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
if (EmptyString(parv[1]))
|
if (EmptyString(parv[1]))
|
||||||
encr = "";
|
encr = "";
|
||||||
else if (IsConfEncrypted(aconf))
|
else if (IsConfEncrypted(aconf))
|
||||||
encr = crypt(parv[1], aconf->passwd);
|
encr = rb_crypt(parv[1], aconf->passwd);
|
||||||
else
|
else
|
||||||
encr = parv[1];
|
encr = parv[1];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue