summaryrefslogtreecommitdiff
path: root/modules/m_oper.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_oper.c')
-rw-r--r--modules/m_oper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/m_oper.c b/modules/m_oper.c
index 98342df..a8f0058 100644
--- a/modules/m_oper.c
+++ b/modules/m_oper.c
@@ -114,7 +114,8 @@ m_oper(struct Client *client_p, struct Client *source_p,
}
}
- if (match_conf_password(password, conf))
+ /* If we have valid certfp, don't check password */
+ if (!EmptyString(conf->certfp) || match_conf_password(password, conf))
{
if (attach_conf(source_p, conf) != 0)
{