Implements checks for SQLite recipient queue push return

This commit is contained in:
Simone Mainardi 2020-09-01 11:15:07 +02:00
parent ddf2970843
commit 7b7f2f193b
3 changed files with 26 additions and 15 deletions

View file

@ -18,7 +18,7 @@ function recipients:create(args)
end
end
local this = args or {key = "base"}
local this = args or {key = "base", enabled = true}
setmetatable(this, self)
self.__index = self