From 2cbafb754a9c884b17cfd714e16586639b3205a0 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 4 Nov 2007 23:15:26 +0000 Subject: 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 --- src/users.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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() -- cgit v1.2.3