0
0
Fork 0
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:
Jason Volk 2019-05-26 04:17:32 -07:00
parent 8474b891eb
commit 89980c42eb

View file

@ -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));
}
//