From 0c215ea00f963ad4087d9d37cdf75fbb3c88ab09 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Fri, 29 May 2026 22:55:19 -0400 Subject: [PATCH] Fix crash: use util.startswith instead of string method --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 7c27bef..3eed834 100644 --- a/main.lua +++ b/main.lua @@ -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",