diff options
| author | 2013-04-21 17:20:28 +0200 | |
|---|---|---|
| committer | 2013-04-21 17:20:28 +0200 | |
| commit | 6e79197210e58d69e7bd512d0b5569c4cb06f3e5 (patch) | |
| tree | 24c7aaa6e1b5ecb0687803371b3bec5032a4c144 /src/usermanager.cpp | |
| parent | m_permchannels Workaround for alphabetical module initialization order (diff) | |
| download | inspircd++-6e79197210e58d69e7bd512d0b5569c4cb06f3e5.tar.gz inspircd++-6e79197210e58d69e7bd512d0b5569c4cb06f3e5.tar.bz2 inspircd++-6e79197210e58d69e7bd512d0b5569c4cb06f3e5.zip | |
Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected errors in m_callerid
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 2f2eeb6dd..e3ddfc9f2 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -167,13 +167,13 @@ void UserManager::QuitUser(User *user, const std::string &quitreason, const char { if (user->quitting) { - ServerInstance->Logs->Log("CULLLIST",DEBUG, "*** Warning *** - You tried to quit a user (%s) twice. Did your module call QuitUser twice?", user->nick.c_str()); + ServerInstance->Logs->Log("USERS", DEFAULT, "ERROR: Tried to quit quitting user: " + user->nick); return; } if (IS_SERVER(user)) { - ServerInstance->Logs->Log("CULLLIST",DEBUG, "*** Warning *** - You tried to quit a fake user (%s)", user->nick.c_str()); + ServerInstance->Logs->Log("USERS", DEFAULT, "ERROR: Tried to quit server user: " + user->nick); return; } @@ -239,7 +239,7 @@ void UserManager::QuitUser(User *user, const std::string &quitreason, const char if (iter != this->clientlist->end()) this->clientlist->erase(iter); else - ServerInstance->Logs->Log("USERS", DEBUG, "iter == clientlist->end, can't remove them from hash... problematic.."); + ServerInstance->Logs->Log("USERS", DEFAULT, "ERROR: Nick not found in clientlist, cannot remove: " + user->nick); ServerInstance->Users->uuidlist->erase(user->uuid); } |
