From e19661e1de7f290de53b3db9111bb7ac688a8d0b Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 9 Jan 2014 15:41:49 -0500 Subject: Make DNSBL log message use the module type and give it a category too --- modules/m_dnsbl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/m_dnsbl.cpp b/modules/m_dnsbl.cpp index 4596a20af..6f2c05862 100644 --- a/modules/m_dnsbl.cpp +++ b/modules/m_dnsbl.cpp @@ -64,7 +64,7 @@ class DNSBLResolver : public Request reason = reason.replace_all_cs("%N", Config->GetBlock("networkinfo")->Get("networkname")); BotInfo *OperServ = Config->GetClient("OperServ"); - Log(OperServ) << "DNSBL: " << user->GetMask() << " (" << user->ip << ") appears in " << this->blacklist.name; + Log(creator, "dnsbl", OperServ) << user->GetMask() << " (" << user->ip << ") appears in " << this->blacklist.name; XLine *x = new XLine("*@" + user->ip, OperServ ? OperServ->nick : "m_dnsbl", Anope::CurTime + this->blacklist.bantime, reason, XLineManager::GenerateUID()); if (this->add_to_akill && akills) { -- cgit