diff options
| author | 2022-12-18 13:43:33 +0000 | |
|---|---|---|
| committer | 2022-12-18 13:43:33 +0000 | |
| commit | d8b4414ee18be69eb7c6c491587e4895dc995fac (patch) | |
| tree | 5aebcbacc529d29c622974df798f4aa42d28f518 /src/usermanager.cpp | |
| parent | Update /MOTD to match /OPERMOTD. (diff) | |
| download | inspircd++-d8b4414ee18be69eb7c6c491587e4895dc995fac.tar.gz inspircd++-d8b4414ee18be69eb7c6c491587e4895dc995fac.tar.bz2 inspircd++-d8b4414ee18be69eb7c6c491587e4895dc995fac.zip | |
Rework the levels things are logged at to make more sense.
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 54e3041d7..ea8069041 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -150,7 +150,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs continue; const char* hooktype = i == via->iohookprovs.begin() ? "hook" : "sslprofile"; - ServerInstance->Logs.Normal("USERS", "Non-existent I/O hook '%s' in <bind:%s> tag at %s", + ServerInstance->Logs.Warning("USERS", "Non-existent I/O hook '%s' in <bind:%s> tag at %s", iohookprovref.GetProvider().c_str(), hooktype, via->bind_tag->source.str().c_str()); this->QuitUser(New, InspIRCd::Format("Internal error handling connection (misconfigured %s)", hooktype)); return; @@ -235,13 +235,13 @@ void UserManager::QuitUser(User* user, const std::string& quitmessage, const std { if (user->quitting) { - ServerInstance->Logs.Normal("USERS", "ERROR: Tried to quit quitting user: " + user->nick); + ServerInstance->Logs.Debug("USERS", "ERROR: Tried to quit quitting user: " + user->nick); return; } if (IS_SERVER(user)) { - ServerInstance->Logs.Normal("USERS", "ERROR: Tried to quit server user: " + user->nick); + ServerInstance->Logs.Debug("USERS", "ERROR: Tried to quit server user: " + user->nick); return; } @@ -300,7 +300,7 @@ void UserManager::QuitUser(User* user, const std::string& quitmessage, const std } if (!clientlist.erase(user->nick)) - ServerInstance->Logs.Normal("USERS", "ERROR: Nick not found in clientlist, cannot remove: " + user->nick); + ServerInstance->Logs.Debug("USERS", "ERROR: Nick not found in clientlist, cannot remove: " + user->nick); uuidlist.erase(user->uuid); user->PurgeEmptyChannels(); |
