From 364bfbe86a9d8273ae664ffeb7bee267b57389df Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Thu, 16 Feb 2023 11:32:10 +0300 Subject: [PATCH] chore(classes): Drop duplicate class option handler --- classes/cabook.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/classes/cabook.lua b/classes/cabook.lua index 6e2f9a67..2be73788 100644 --- a/classes/cabook.lua +++ b/classes/cabook.lua @@ -85,10 +85,6 @@ function class:declareOptions () if value then verseindex = SU.cast("boolean", value) end return verseindex end) - self:declareOption("verseindex", function (_, value) - if value then verseindex = SU.cast("boolean", value) end - return verseindex - end) self:declareOption("layout", function (_, value) if value then layout = value