X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fxline.cpp;h=19a15decf27b6e632a5637712759b58ceac9ff50;hb=9a2481ebf1109adc4b626414108d92674793cd5d;hp=547a54fea6ed564ced89b8f442333627338cae2e;hpb=8dcc694bb11c35f97c57262c1c03d425dd71686b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/xline.cpp b/src/xline.cpp index 547a54fea..19a15decf 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -410,7 +410,7 @@ void XLine::DefaultApply(User* u, const std::string &line, bool bancache) if (bancache) { - ServerInstance->Log(DEBUG, std::string("BanCache: Adding positive hit (") + line + ") for " + u->GetIPString()); + ServerInstance->Logs->Log("BANCACHE", DEBUG, std::string("BanCache: Adding positive hit (") + line + ") for " + u->GetIPString()); ServerInstance->BanCache->AddHit(u->GetIPString(), this->type, line + "-Lined: " + this->reason); } }