Fix terminology used in code

This commit is contained in:
Bryan Ashby 2022-08-21 14:03:19 -06:00
parent 1f130347d5
commit 4a63bc577e
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
1 changed files with 4 additions and 4 deletions

View File

@ -501,8 +501,8 @@ exports.getModule = class GopherModule extends ServerModule {
// filters |areas| down to what |includes| matches
areas = _.filter(areas, (area, areaTag) => {
for (let needle of confConfig.include) {
if (wildcardMatch(areaTag, needle)) {
for (let rule of confConfig.include) {
if (wildcardMatch(areaTag, rule)) {
area.areaTag = areaTag;
return true;
}
@ -513,8 +513,8 @@ exports.getModule = class GopherModule extends ServerModule {
// now filter out any excludes, if present
if (Array.isArray(confConfig.exclude)) {
areas = _.filter(areas, area => {
for (let needle of confConfig.exclude) {
if (wildcardMatch(area.areaTag, needle)) {
for (let rule of confConfig.exclude) {
if (wildcardMatch(area.areaTag, rule)) {
return false;
}
}