#include <string.h>
-extern char *crypt();
-
static int m_mkpasswd(struct Client *client_p, struct Client *source_p,
int parc, const char *parv[]);
static int mo_mkpasswd(struct Client *client_p, struct Client *source_p,
sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS), me.name, parv[0], "MKPASSWD");
else
sendto_one_notice(source_p, ":Encryption for [%s]: %s",
- parv[1], crypt(parv[1],
+ parv[1], rb_crypt(parv[1],
is_md5 ? make_md5_salt() :
make_salt()));
sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS), me.name, parv[0], "MKPASSWD");
else
sendto_one_notice(source_p, ":Encryption for [%s]: %s",
- parv[1], crypt(parv[1], is_md5 ? make_md5_salt() : make_salt()));
+ parv[1], rb_crypt(parv[1], is_md5 ? make_md5_salt() : make_salt()));
return 0;
}