diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-25 12:15:01 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-25 12:15:01 +0100 |
commit | 48869b38e938de4d8dd4cdff486b10348e81f7b6 (patch) | |
tree | 1f358eb6439bcf9f9b78ff8f1a7f426adfd5f5d1 /src/usermanager.cpp | |
parent | 458168b575663dc7bdb71c651c30320752f22e41 (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) |