1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 18:03:15 +02:00

Fix matching stacked extended bans.

This commit is contained in:
Sadie Powell
2026-02-18 17:39:13 +00:00
parent d43acc2381
commit 7242c740c8
4 changed files with 13 additions and 9 deletions
+2
View File
@@ -796,6 +796,8 @@ Anope::string Entry::GetCleanMask() const
bool Entry::Matches(User *u, bool full) const
{
Log(LOG_DEBUG) << "Checking whether " << u->GetMask() << " matches " << this->GetMask();
/* First check if this mode has defined any matches (usually for extbans). */
if (IRCD->IsExtbanValid(this->mask))
{