#include "client.h"
#include "common.h" /* FALSE bleah */
#include "ircd.h"
-#include "irc_string.h"
+#include "match.h"
#include "numeric.h"
#include "s_newconf.h"
#include "s_conf.h"
-#include "s_log.h"
+#include "logger.h"
#include "s_serv.h"
#include "send.h"
#include "msg.h"
#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;
}