diff options
| author | 2020-11-03 20:11:26 +0000 | |
|---|---|---|
| committer | 2020-11-03 20:11:26 +0000 | |
| commit | 2a9f1c7fa01c30148f4c429623728fa7a75d3261 (patch) | |
| tree | 5db10634aab67f134cc9389678e091bde76ed8c5 /src/modules/m_ident.cpp | |
| parent | Rename ConfigTag::tag to ConfigTag::name. (diff) | |
| parent | Fix an off by one error in the "unknown option" message. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_ident.cpp')
| -rw-r--r-- | src/modules/m_ident.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 7710d9dfa..16dcc0145 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -406,7 +406,11 @@ class ModuleIdent : public Module ModResult OnSetConnectClass(LocalUser* user, std::shared_ptr<ConnectClass> myclass) override { if (myclass->config->getBool("requireident") && state.get(user) != IDENT_FOUND) + { + ServerInstance->Logs.Log("CONNECTCLASS", LOG_DEBUG, "The %s connect class is not suitable as it requires an identd response", + myclass->GetName().c_str()); return MOD_RES_DENY; + } return MOD_RES_PASSTHRU; } |
