summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp1
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)