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 --- 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 ec6d741ca..eca31d4af 100644 --- a/include/modules/sasl.h +++ b/include/modules/sasl.h @@ -92,7 +92,7 @@ namespace SASL Session *s = sasl->GetSession(uid); if (s) { - Log(Config->GetClient("NickServ")) << "A user identified to account " << this->GetAccount() << " using SASL"; + Log(Config->GetClient("NickServ"), "sasl") << "A user identified to account " << this->GetAccount() << " using SASL"; sasl->Succeed(s, na->nc); delete s; } @@ -117,7 +117,7 @@ namespace SASL else if (na->nc->HasExt("NS_SUSPENDED")) accountstatus = "suspended "; - Log(Config->GetClient("NickServ")) << "A user failed to identify for " << accountstatus << "account " << this->GetAccount() << " using SASL"; + Log(Config->GetClient("NickServ"), "sasl") << "A user failed to identify for " << accountstatus << "account " << this->GetAccount() << " using SASL"; } }; } -- cgit