Fix crash: use util.startswith instead of string method

This commit is contained in:
2026-05-29 22:55:19 -04:00
parent 98eb57e3f7
commit 0c215ea00f
+1 -1
View File
@@ -596,7 +596,7 @@ function Bookhoard:setupOPDS()
if server.url and (
server.url == opds_url
or server.url == opds_base_url
or server.url:startswith(opds_base_url .. "?")
or util.startswith(server.url, opds_base_url .. "?")
) then
servers[i] = {
title = "Bookhoard",