diff options
author | Rutger <djslash+github@djslash.org> | 2012-04-01 21:32:29 +0200 |
---|---|---|
committer | Rutger <djslash+github@djslash.org> | 2012-04-01 21:32:29 +0200 |
commit | d7660914c10eb0eb30e5b2b8d22833b0d6b9ec65 (patch) | |
tree | 9d5d63443b3736f30120013291d2b98386fd6dea /src | |
parent | e73e4be15485f545ff485d3d372b513dd28bf759 (diff) |
Show class in connectmsg
Made the connect announcement show the class a client is in, making it
easy to spot if a client is in the right class.
Diffstat (limited to 'src')
-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 7f8e3df8a..dda214a78 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -827,8 +827,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) |