diff options
author | Robin Burchell <viroteck@viroteck.net> | 2012-04-15 01:40:54 -0700 |
---|---|---|
committer | Robin Burchell <viroteck@viroteck.net> | 2012-04-15 01:40:54 -0700 |
commit | ed1cdbef159f2e6a33eff966946fccfc08c37568 (patch) | |
tree | 06ab7e4bfcb77af831ad1d74ce40a1f35ab70110 | |
parent | 207c6c290e5b752d562fdc0b121379d511a3dce8 (diff) | |
parent | d7660914c10eb0eb30e5b2b8d22833b0d6b9ec65 (diff) |
Merge pull request #28 from DjSlash/classinconnectmsg
Show class in connectmsg
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 6277f95f9..f8f9d0025 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -829,8 +829,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) |