From 8f6f2a2c479d7f13a59e283e8566c6779dc99112 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 2 Jan 2016 17:15:26 -0500 Subject: Add sasl log category for auth log messages --- modules/m_sasl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/m_sasl.cpp b/modules/m_sasl.cpp index ddfd84cbf..1891f8367 100644 --- a/modules/m_sasl.cpp +++ b/modules/m_sasl.cpp @@ -107,12 +107,13 @@ class External : public Mechanism NickCore *nc = certs->FindAccountFromCert(mysess->cert); if (!nc || nc->HasExt("NS_SUSPENDED")) { + Log(Config->GetClient("NickServ"), "sasl") << "A user failed to identify to account " << nc->display << " using SASL EXTERNAL"; sasl->Fail(sess); delete sess; return; } - Log(Config->GetClient("NickServ")) << "A user identified to account " << nc->display << " using SASL EXTERNAL"; + Log(Config->GetClient("NickServ"), "sasl") << "A user identified to account " << nc->display << " using SASL EXTERNAL"; sasl->Succeed(sess, nc); delete sess; } -- cgit