diff options
author | Adam <Adam@anope.org> | 2017-03-19 18:55:32 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-03-19 18:55:32 -0400 |
commit | 0fcc66711bc0ae31469bd67044d968c33bacb824 (patch) | |
tree | bab07874bb7387dc8f539eee27c81c1fc5306b4f /modules/m_sasl.cpp | |
parent | 8d9574e3061d7728b035f77a50995b87ba1c37dd (diff) |
m_sasl: pass module to logger
Diffstat (limited to 'modules/m_sasl.cpp')
-rw-r--r-- | modules/m_sasl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_sasl.cpp b/modules/m_sasl.cpp index cbda5d64c..9538741a7 100644 --- a/modules/m_sasl.cpp +++ b/modules/m_sasl.cpp @@ -111,13 +111,13 @@ class External : public Mechanism NickCore *nc = certs->FindAccountFromCert(mysess->cert); if (!nc || nc->HasExt("NS_SUSPENDED") || nc->HasExt("UNCONFIRMED")) { - Log(Config->GetClient("NickServ"), "sasl") << user << " failed to identify using certificate " << mysess->cert << " using SASL EXTERNAL"; + Log(this->owner, "sasl", Config->GetClient("NickServ")) << user << " failed to identify using certificate " << mysess->cert << " using SASL EXTERNAL"; sasl->Fail(sess); delete sess; return; } - Log(Config->GetClient("NickServ"), "sasl") << user << " identified to account " << nc->display << " using SASL EXTERNAL"; + Log(this->owner, "sasl", Config->GetClient("NickServ")) << user << " identified to account " << nc->display << " using SASL EXTERNAL"; sasl->Succeed(sess, nc); delete sess; } |