diff options
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 5dead741c..e60bd23c0 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -173,9 +173,9 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs // IOHook could have encountered a fatal error, e.g. if the TLS ClientHello // was already in the queue and there was no common TLS version. - if (!eh->getError().empty()) + if (!eh->GetError().empty()) { - QuitUser(New, eh->getError()); + QuitUser(New, eh->GetError()); return; } } @@ -392,7 +392,7 @@ void UserManager::DoBackgroundUserStuff() LocalUser* curr = *i; ++i; - if (curr->CommandFloodPenalty || curr->eh.getSendQSize()) + if (curr->CommandFloodPenalty || curr->eh.GetSendQSize()) { unsigned int rate = curr->MyClass->GetCommandRate(); if (curr->CommandFloodPenalty > rate) |
