diff options
| author | 2023-06-12 01:38:45 +0100 | |
|---|---|---|
| committer | 2023-06-12 01:39:47 +0100 | |
| commit | a01934681f9306909bc7736daee713785f9ddbe9 (patch) | |
| tree | db267eb51984bbe1d35be07093e652cfd5fbe7a8 /src/usermanager.cpp | |
| parent | Log when encountering an erroneous user cull without a quit. (diff) | |
Make internal bug messages more consistent.
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index bbb93f113..db8fe0b5c 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -251,13 +251,13 @@ void UserManager::QuitUser(User* user, const std::string& quitmessage, const std { if (user->quitting) { - ServerInstance->Logs.Debug("USERS", "ERROR: Tried to quit quitting user: " + user->nick); + ServerInstance->Logs.Debug("USERS", "BUG: Tried to quit quitting user: " + user->nick); return; } if (IS_SERVER(user)) { - ServerInstance->Logs.Debug("USERS", "ERROR: Tried to quit server user: " + user->nick); + ServerInstance->Logs.Debug("USERS", "BUG: Tried to quit server user: " + user->nick); return; } @@ -318,7 +318,7 @@ void UserManager::QuitUser(User* user, const std::string& quitmessage, const std } if (!clientlist.erase(user->nick)) - ServerInstance->Logs.Debug("USERS", "ERROR: Nick not found in clientlist, cannot remove: " + user->nick); + ServerInstance->Logs.Debug("USERS", "BUG: Nick not found in clientlist, cannot remove: " + user->nick); uuidlist.erase(user->uuid); user->PurgeEmptyChannels(); |
