]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_oper.c
crypt -> rb_crypt, fixing another gcc warning
[irc/rqf/shadowircd.git] / modules / m_oper.c
index ca5c2120794cd2dfb0e3dabf18e13f164aa0fbaf..2a8a2f0e7b3173d6cff43047f805bb7d019087bb 100644 (file)
@@ -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 = "";
        }