From 6c6dbb427b693118b652aa01e6b4722fd5d2fb13 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 15 Jul 2017 18:04:26 +0100 Subject: Fix killing elined clients on [gkz]line in some cases. --- src/inspircd.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/inspircd.cpp') 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() -- cgit v1.3.1-10-gc9f91