From: w00t Date: Sun, 4 Nov 2007 23:15:26 +0000 (+0000) Subject: BanCache: Add a negative hit for an IP address upon FullConnect. X-Git-Tag: v2.0.23~4173 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=2cbafb754a9c884b17cfd714e16586639b3205a0;p=user%2Fhenk%2Fcode%2Finspircd.git BanCache: Add a negative hit for an IP address upon FullConnect. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8540 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/users.cpp b/src/users.cpp index 8dd3c3bf9..54fa2b872 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1016,6 +1016,9 @@ void User::FullConnect() FOREACH_MOD(I_OnPostConnect,OnPostConnect(this)); ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d: %s!%s@%s [%s] [%s]", this->GetPort(), this->nick, this->ident, this->host, this->GetIPString(), this->fullname); + + ServerInstance->Log(DEBUG, "BanCache: Adding NEGATIVE hit for %s", this->GetIPString()); + ServerInstance->BanCache->AddHit(this->GetIPString(), "", ""); } /** User::UpdateNick()