diff options
| author | 2017-07-15 18:04:26 +0100 | |
|---|---|---|
| committer | 2017-09-11 16:01:17 +0100 | |
| commit | 6c6dbb427b693118b652aa01e6b4722fd5d2fb13 (patch) | |
| tree | a94af9ba37e5c4348bc6a3aa0ff6d7dc6938bd2c /src/inspircd.cpp | |
| parent | Fix m_cgiirc allowing malformed hosts sent via WEBIRC. (diff) | |
| download | inspircd++-6c6dbb427b693118b652aa01e6b4722fd5d2fb13.tar.gz inspircd++-6c6dbb427b693118b652aa01e6b4722fd5d2fb13.tar.bz2 inspircd++-6c6dbb427b693118b652aa01e6b4722fd5d2fb13.zip | |
Fix killing elined clients on [gkz]line in some cases.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 5 |
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() |
