diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-19 11:38:38 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-19 11:38:38 +0000 |
commit | 1577f0dec611c9b19bc1a1ba511af56ccb9045e0 (patch) | |
tree | 2fe84374f0849e189f116ded2a43c8d3bae95252 /modules | |
parent | 8ad3198a9947c7fe3ba5d3debfad24b77f027141 (diff) |
- m_challenge.c:m_challenge(): fixed an XXX
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3008 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_challenge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/m_challenge.c b/modules/m_challenge.c index 524eddc..7e673cd 100644 --- a/modules/m_challenge.c +++ b/modules/m_challenge.c @@ -95,8 +95,10 @@ m_challenge(struct Client *client_p, struct Client *source_p, source_p->localClient->auth_oper, NULL, NULL); if (conf == NULL) { - /* XXX: logging */ sendto_one(source_p, form_str(ERR_NOOPERHOST), me.name, source_p->name); + conf = find_exact_name_conf(CONF_OPER, NULL, source_p->localClient->auth_oper, NULL, NULL); + failed_challenge_notice(source_p, source_p->localClient->auth_oper, (conf != NULL) ? + "host mismatch" : "no oper {} block"); return 0; } |