summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-04-15 01:40:54 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-04-15 01:40:54 -0700
commited1cdbef159f2e6a33eff966946fccfc08c37568 (patch)
tree06ab7e4bfcb77af831ad1d74ce40a1f35ab70110 /src/users.cpp
parent207c6c290e5b752d562fdc0b121379d511a3dce8 (diff)
parentd7660914c10eb0eb30e5b2b8d22833b0d6b9ec65 (diff)
Merge pull request #28 from DjSlash/classinconnectmsg
Show class in connectmsg
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
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)