From 0fcc66711bc0ae31469bd67044d968c33bacb824 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 19 Mar 2017 18:55:32 -0400 Subject: m_sasl: pass module to logger --- include/modules/sasl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/modules') diff --git a/include/modules/sasl.h b/include/modules/sasl.h index 249a4c3b0..b4fbe0d94 100644 --- a/include/modules/sasl.h +++ b/include/modules/sasl.h @@ -102,7 +102,7 @@ namespace SASL if (!hostname.empty() && !ip.empty()) user = hostname + " (" + ip + ")"; - Log(Config->GetClient("NickServ"), "sasl") << user << " identified to account " << this->GetAccount() << " using SASL"; + Log(this->GetOwner(), "sasl", Config->GetClient("NickServ")) << user << " identified to account " << this->GetAccount() << " using SASL"; sasl->Succeed(s, na->nc); delete s; } @@ -133,7 +133,7 @@ namespace SASL if (!hostname.empty() && !ip.empty()) user = hostname + " (" + ip + ")"; - Log(Config->GetClient("NickServ"), "sasl") << user << " failed to identify for " << accountstatus << "account " << this->GetAccount() << " using SASL"; + Log(this->GetOwner(), "sasl", Config->GetClient("NickServ")) << user << " failed to identify for " << accountstatus << "account " << this->GetAccount() << " using SASL"; } }; } -- cgit