aboutsummaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2015-11-02 13:28:55 +0100
committerGravatar Attila Molnar2015-11-02 13:28:55 +0100
commit30fc51c6ddca487a1b89da9ab0ab59da003aee36 (patch)
tree8727403ddfdc51441db940ba77d2cce6cea3ec66 /src/usermanager.cpp
parentMove ServerConfig::InvBypassModes into core_channel (diff)
Rewrite invite system
- Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp
index 7e92507ca..41061f6d1 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -283,10 +283,7 @@ void UserManager::GarbageCollect()
// Reset the already_sent IDs so we don't wrap it around and drop a message
LocalUser::already_sent_id = 0;
for (LocalList::const_iterator i = local_users.begin(); i != local_users.end(); ++i)
- {
(**i).already_sent = 0;
- (**i).RemoveExpiredInvites();
- }
}
/* this returns true when all modules are satisfied that the user should be allowed onto the irc server