Permalink
Browse files

Merge pull request #58 from Justasic/insp21+connectclass

[2.1] Show class in connectmsg
  • Loading branch information...
2 parents 53bf62c + 3bce55b commit 66d9056fe582c2fe716bd51854d42340ac27a675 @rburchell rburchell committed Apr 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/users.cpp
View
@@ -865,8 +865,8 @@ void LocalUser::FullConnect()
FOREACH_MOD(I_OnPostConnect,OnPostConnect(this));
- ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d: %s!%s@%s [%s] [%s]",
- this->GetServerPort(), this->nick.c_str(), this->ident.c_str(), this->host.c_str(), this->GetIPString(), this->fullname.c_str());
+ ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d (class %s): %s!%s@%s [%s] [%s]",
+ this->GetServerPort(), this->MyClass->name.c_str(), this->nick.c_str(), this->ident.c_str(), this->host.c_str(), this->GetIPString(), this->fullname.c_str());
ServerInstance->Logs->Log("BANCACHE", DEBUG, "BanCache: Adding NEGATIVE hit for %s", this->GetIPString());
ServerInstance->BanCache->AddHit(this->GetIPString(), "", "");
// reset the flood penalty (which could have been raised due to things like auto +x)

0 comments on commit 66d9056

Please sign in to comment.