summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 2db223edb..fbb2309c3 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1722,13 +1722,10 @@ ConnectClass* User::GetClass()
void User::PurgeEmptyChannels()
{
- std::vector<Channel*> to_delete;
-
// firstly decrement the count on each channel
for (UCListIter f = this->chans.begin(); f != this->chans.end(); f++)
{
Channel* c = *f;
- c->RemoveAllPrefixes(this);
c->DelUser(this);
}