diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/authenticator.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticator.lua b/lib/authenticator.lua index 941e19f..92f3a10 100644 --- a/lib/authenticator.lua +++ b/lib/authenticator.lua @@ -28,7 +28,7 @@ local availablefields = { local load_database = function(self) if not authstruct then - local authtable = auth.read_field(self, usertable, "") + local authtable = auth.read_field(self, usertable, "") or {} authstruct = {} for i,value in ipairs(authtable) do if value.id ~= "" then |