mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd: Relax trailing case comparison in globular matcher.
This commit is contained in:
parent
8474b891eb
commit
89980c42eb
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ const
|
|||
if(bp < b.size() && !a.empty() && a.back() == '*')
|
||||
return true;
|
||||
|
||||
return std::equal(a.begin() + ap, a.end(), b.begin() + bp, b.end());
|
||||
return iequals(a.substr(ap), b.substr(bp));
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue