summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2012-06-27 16:29:21 -0700
committerAttila Molnar <attilamolnar@hush.com>2012-06-27 16:29:21 -0700
commitf89e68d78684dab66f9c99aaf8bd8a37ec62bfce (patch)
treecdabc56abaf267f501308be387269bed655ac724 /src/inspircd.cpp
parentb1dedaba2400b7ce7acfa98b9a63fd54ae674a41 (diff)
parentd2e189102b643f38418f3caf065dbb91f2ce4266 (diff)
Merge pull request #235 from attilamolnar/insp20+invitefix
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 005a11dd7..cf8c22633 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -220,6 +220,7 @@ void InspIRCd::RehashUsersAndChans()
for (std::vector<LocalUser*>::const_iterator i = Users->local_users.begin(); i != Users->local_users.end(); i++)
{
(**i).already_sent = 0;
+ (**i).RemoveExpiredInvites();
}
}