X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..7796ef04d4fd20c7c09d31c0e0b2d6548cba9cac:/modules/m_oper.c diff --git a/modules/m_oper.c b/modules/m_oper.c index ac7a1d3..2a8a2f0 100644 --- a/modules/m_oper.c +++ b/modules/m_oper.c @@ -25,16 +25,14 @@ */ #include "stdinc.h" -#include "tools.h" #include "client.h" #include "common.h" -#include "irc_string.h" +#include "match.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_conf.h" #include "s_newconf.h" -#include "s_log.h" +#include "logger.h" #include "s_user.h" #include "send.h" #include "msg.h" @@ -54,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 @@ -158,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 = ""; }