From 89980c42ebfeb83f5d4fdce3d621317fcb155ff8 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 26 May 2019 04:17:32 -0700 Subject: [PATCH] ircd: Relax trailing case comparison in globular matcher. --- ircd/lexical.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/lexical.cc b/ircd/lexical.cc index fec7efbcf..cbdccd562 100644 --- a/ircd/lexical.cc +++ b/ircd/lexical.cc @@ -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)); } //