sharedconfig: actually return from load()

because who needs return values for a function dedicated specifically to
returning a value, amirite?
This commit is contained in:
NullBite 2023-06-24 23:30:48 -04:00
parent e07bd176ed
commit ebd217dcc2
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -51,6 +51,8 @@ function sharedconfig.load(key)
end
-- defaults haven't been initialized yet
if defaults_table == nil then return nil end
return sharedstate.get(key)
end
--- Save config