summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-11-03 13:16:19 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-11-03 13:16:19 +0100
commitaa05a6fd4d5c11dc8e8adc469134a2802446fe9f (patch)
tree46e8c60157f98464ae55e7ea5609ffc091422733 /src/usermanager.cpp
parentc89cc290fbc6d53040fc8abc6fc0b0cb637beee9 (diff)
Remove UserManager::GarbageCollect()
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp
index d81b83d20..ba6bbf36b 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -279,13 +279,6 @@ void UserManager::ServerNoticeAll(const char* text, ...)
}
}
-void UserManager::GarbageCollect()
-{
- // Reset the already_sent IDs so we don't wrap it around and drop a message
- for (LocalList::const_iterator i = local_users.begin(); i != local_users.end(); ++i)
- (**i).already_sent = 0;
-}
-
/* this returns true when all modules are satisfied that the user should be allowed onto the irc server
* (until this returns true, a user will block in the waiting state, waiting to connect up to the
* registration timeout maximum seconds)