Content deleted Content added
No edit summary
No edit summary
Line 118:
end
-- Add original first letter to modules to try
table.insert(modulesToTry, name:sub(1, 1):upper())
Line 127 ⟶ 126:
local matchedChannels = {}
-- Check redirects firstusing same pattern as CareerList
if channelModule.redirects and channelModule.redirects[name:lower()] then
return getChannel(channelModule.redirects[name:lower()])
end
-- LookSearch forusing matchessame inpattern channelas names and aliasesCareerList
for _, channel in pairs(channelModule.channels) do
if channel.name:lower() == name:lower() or
Line 140 ⟶ 139:
end
-- Handle multiple matches
if #matchedChannels > 1 then
return nil, i18n.errors.duplicateChannels