mirror of
https://github.com/anope/anope.git
synced 2026-07-10 08:03:13 +02:00
Improve the ban mask parsing in Entry.
This commit is contained in:
@@ -788,7 +788,7 @@ namespace InspIRCdExtBan
|
||||
|
||||
bool Matches(User *u, const Entry *e) override
|
||||
{
|
||||
return Entry(this->name, e->GetMask()).Matches(u);
|
||||
return Entry(this->name, e->GetMask(), false).Matches(u);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -898,7 +898,7 @@ namespace InspIRCdExtBan
|
||||
|
||||
bool Matches(User *u, const Entry *e) override
|
||||
{
|
||||
return !u->Account() && Entry(this->base, e->GetMask()).Matches(u);
|
||||
return !u->Account() && Entry(this->base, e->GetMask(), false).Matches(u);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user