1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 13:06:38 +02:00

m_sasl: pass module to logger

This commit is contained in:
Adam
2017-03-19 18:55:32 -04:00
parent 8d9574e306
commit 0fcc66711b
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -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";
}
};
}