diff --git a/data/config.example.lua b/data/config.example.lua index 4abe712..30aed07 100644 --- a/data/config.example.lua +++ b/data/config.example.lua @@ -6,7 +6,7 @@ storage = { "" }, - speaker = { + speakers = { "" }, self = "", diff --git a/src/speaker.lua b/src/speaker.lua index a2e4245..6af3db3 100644 --- a/src/speaker.lua +++ b/src/speaker.lua @@ -14,6 +14,10 @@ return end + if self.config.speakers == nil then + return + end + if #self.config.speakers == 0 then return end