summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/modules/sasl.h1
-rw-r--r--modules/m_sasl.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/modules/sasl.h b/include/modules/sasl.h
index a7c440110..b4c97f632 100644
--- a/include/modules/sasl.h
+++ b/include/modules/sasl.h
@@ -92,6 +92,7 @@ namespace SASL
Session *s = sasl->GetSession(uid);
if (s)
{
+ Log(Config->GetClient("NickServ")) << "A user identified to account " << this->GetAccount() << " using SASL";
sasl->Succeed(s, na->nc);
delete s;
}
diff --git a/modules/m_sasl.cpp b/modules/m_sasl.cpp
index 18de8930b..c976ef2f8 100644
--- a/modules/m_sasl.cpp
+++ b/modules/m_sasl.cpp
@@ -100,6 +100,7 @@ class External : public Mechanism
return;
}
+ Log(Config->GetClient("NickServ")) << "A user identified to account " << nc->display << " using SASL EXTERNAL";
sasl->Succeed(sess, nc);
delete sess;
}