summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-06-17 17:53:39 +0200
committerattilamolnar <attilamolnar@hush.com>2012-06-17 17:54:49 +0200
commitd2e189102b643f38418f3caf065dbb91f2ce4266 (patch)
tree43968ec9501a525107e41736cbe39839aec08350 /src/inspircd.cpp
parentf960a97cc6b509c756a20d892609825c67c2fc43 (diff)
Fix pending invites not being removed when a channel was deleted or had its TS lowered
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();
}
}