diff --git a/scripts/pleroma_restrict_unauthenticated_search.lua b/scripts/pleroma_restrict_unauthenticated_search.lua index 6b7904b..b907dd3 100644 --- a/scripts/pleroma_restrict_unauthenticated_search.lua +++ b/scripts/pleroma_restrict_unauthenticated_search.lua @@ -1,8 +1,8 @@ -local function webfingerInit(cfg) +local function searchInit(cfg) return {} -- no ctx end -local function webfingerCallback(cfg, _ctx) +local function searchCallback(cfg, _ctx) local h, err = ngx.req.get_headers() if err == "truncated" then