diff options
| author | 2019-02-07 12:17:09 +0000 | |
|---|---|---|
| committer | 2019-02-07 12:17:09 +0000 | |
| commit | 8e908f0a6864eab4cf37997773603e9943bb7892 (patch) | |
| tree | e4be6165b608bdfa35cbce88f447d94d9b498974 /src/usermanager.cpp | |
| parent | ModuleManager: remove fakederef. (diff) | |
SnomaskManager: remove fakederef.
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 1b50e7b4e..4c43f42bf 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -103,7 +103,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs if (this->local_users.size() > ServerInstance->Config->SoftLimit) { - ServerInstance->SNO->WriteToSnoMask('a', "Warning: softlimit value has been reached: %d clients", ServerInstance->Config->SoftLimit); + ServerInstance->SNO.WriteToSnoMask('a', "Warning: softlimit value has been reached: %d clients", ServerInstance->Config->SoftLimit); this->QuitUser(New,"No more connections allowed"); return; } @@ -211,7 +211,7 @@ void UserManager::QuitUser(User* user, const std::string& quitreason, const std: lu->eh.Close(); if (lu->registered == REG_ALL) - ServerInstance->SNO->WriteToSnoMask('q',"Client exiting: %s (%s) [%s]", user->GetFullRealHost().c_str(), user->GetIPString().c_str(), operreason->c_str()); + ServerInstance->SNO.WriteToSnoMask('q',"Client exiting: %s (%s) [%s]", user->GetFullRealHost().c_str(), user->GetIPString().c_str(), operreason->c_str()); local_users.erase(lu); } |
