diff options
| author | 2014-01-25 12:15:01 +0100 | |
|---|---|---|
| committer | 2014-01-25 12:15:01 +0100 | |
| commit | 48869b38e938de4d8dd4cdff486b10348e81f7b6 (patch) | |
| tree | 1f358eb6439bcf9f9b78ff8f1a7f426adfd5f5d1 /src/usermanager.cpp | |
| parent | Convert InviteBase::invites to an intrusively linked list (diff) | |
Destroy Memberships of a quitting user in QuitUser() instead of in cull()
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 13646f225..b5050d91a 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -209,6 +209,7 @@ void UserManager::QuitUser(User* user, const std::string& quitreason, const std: ServerInstance->Logs->Log("USERS", LOG_DEFAULT, "ERROR: Nick not found in clientlist, cannot remove: " + user->nick); uuidlist->erase(user->uuid); + user->PurgeEmptyChannels(); } void UserManager::AddLocalClone(User *user) |
