summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-15 18:04:26 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-11 16:01:17 +0100
commit6c6dbb427b693118b652aa01e6b4722fd5d2fb13 (patch)
treea94af9ba37e5c4348bc6a3aa0ff6d7dc6938bd2c /src/inspircd.cpp
parent5fc4403f621ac93ef8a8c250b30436c0fea8f493 (diff)
Fix killing elined clients on [gkz]line in some cases.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 0fa90fca5..66f9bfdc5 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -223,6 +223,11 @@ void InspIRCd::RehashUsersAndChans()
(**i).already_sent = 0;
(**i).RemoveExpiredInvites();
}
+
+ // HACK: ELines are not expired properly at the moment but it can't be fixed as
+ // the 2.0 XLine system is a spaghetti nightmare. Instead we skip over expired
+ // ELines in XLineManager::CheckELines() and expire them here instead.
+ ServerInstance->XLines->GetAll("E");
}
void InspIRCd::SetSignals()