X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/4016731b1cf38951bc7566e7bc3ca8ebb8f282b4..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_oper.c diff --git a/modules/m_oper.c b/modules/m_oper.c index 886da7cc..2a8a2f0e 100644 --- a/modules/m_oper.c +++ b/modules/m_oper.c @@ -27,7 +27,7 @@ #include "stdinc.h" #include "client.h" #include "common.h" -#include "irc_string.h" +#include "match.h" #include "ircd.h" #include "numeric.h" #include "s_conf.h" @@ -52,7 +52,6 @@ mapi_clist_av1 oper_clist[] = { &oper_msgtab, NULL }; DECLARE_MODULE_AV1(oper, NULL, NULL, oper_clist, NULL, NULL, "$Revision: 1483 $"); static int match_oper_password(const char *password, struct oper_conf *oper_p); -extern char *crypt(); /* * m_oper @@ -156,7 +155,7 @@ match_oper_password(const char *password, struct oper_conf *oper_p) * the proper encrypted hash for comparison. */ if(!EmptyString(password)) - encr = crypt(password, oper_p->passwd); + encr = rb_crypt(password, oper_p->passwd); else encr = ""; }