]> jfr.im git - solanum.git/blobdiff - modules/m_oper.c
Use rb_* versions of nonportable string functions
[solanum.git] / modules / m_oper.c
index 926af3fdc44c965c9d6ab549e3cf795dba389162..9afef1f8c2f71807e4c909298e617fa2208e80ff 100644 (file)
@@ -117,7 +117,7 @@ m_oper(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p
 
        if (oper_p->certfp != NULL)
        {
-               if (source_p->certfp == NULL || strcasecmp(source_p->certfp, oper_p->certfp))
+               if (source_p->certfp == NULL || rb_strcasecmp(source_p->certfp, oper_p->certfp))
                {
                        sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
                        ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s) -- client certificate fingerprint mismatch",